PkgInstaller

A package installer.

Declaration

struct PkgInstaller

Discussion

It downloads, unarchives, installs tarballs into the home directory and registers the checksum of every installed file.

Initializers

Initializes an installer.

Properties

The path of the downloaded and extracted archive, in a temporary location.

The currently installed version of this package.

The package being installed.

Static Properties

The data directory of the pkg utility.

Functions

Downloads and extracts the archive with the tar command into a temporary directory.

Installs the downloaded archive into the home directory.

Enumerations

Installation errors.

Pre-install progress.

An action that will be performed by the installer.