Package Manager Utility

Package Manager is the installer utility for the J Application Library (JAL). GUI interfaces are available from:

A console interface is also available for jconsole users and optionally for non-jconsole users in the form of the jpkg verb.

Using Package Manager

Package Manager installs packages. A package is either an addon or the base library, and is identified by a name and version number; has a short caption and a longer description; and contains a number of files to be placed under the ~addons/<category>/<addonname> folder.

The Package Manager window and Preferences dialog

pacman2.png

The list of available packages is called the catalog. Initially it is downloaded from the server and a local copy is saved. In order to keep the catalog current, it is loaded from the server periodically (automatically on each start or manually, as per Preferences).

The catalog and packages are downloaded from Jsoftware's web server (no personal data is sent to the server). The functionality of Package Manager therefore depends on an internet connection. An internet connection is required for the initial catalog download (setup phase), otherwise Package Manager will close. Once initial setup has been completed, Package Manager can start in off-line mode for browse-only functionality, but will need to go online in order to update the catalog or download packages.

Step by Step

The following instructions apply to the J6.02 GUI, but may also be useful for J7 Gtk users.

Starting Package Manager

Initial Run (Setup)

After successful Setup the log window shows Updating server catalog... Done. along with the addons and library status. You can install any addons now (see below).

Subsequent Runs

By default each time Package Manager starts you will be asked if you want to Read Catalog from Server. Use Tools|Preferences...|Catalog at Startup to automate the decision if you prefer.

Browsing Packages

Package Manager allows you to browse the available and installed packages in both on-line and off-line mode.

Installing Packages

The application lets you choose packages to install. The package list shown can be configured by selecting from the list on the left, which is either a list by installed status, or a list by package type.

During the installation the GUI is disabled, so it is necessary to wait until all selections are installed. If an error occurs, the process will be interrupted and a message with the possible reason will be displayed in the log window. See the Troubleshooting section in that case.

Troubleshooting

If the Package Manager is not working properly, likely causes are:

Diagnosis. To verify that an addon or the base library is installed correctly, download the corresponding archive manually from the distribution location directly, extract to a separate folder, and diff with the destination folder under J. If there are differences, verify that wget and unzip are configured correctly.

JAL/Package Manager (last edited 2011-11-05 21:31:20 by RicSherlock)