All of the Pakfire console commands on one page!

Command line help

Need a little help remembering the pakfire commands?

pakfire help

Install package

To install the package enter the name or names. Several packages can be installed at same time.

pakfire install [-y] <package> [<package> . . . ]

After a short period the installation process starts. The Console output can be bypassed by adding with -y parameter.

Uninstall package

To uninstall a package run the following command in the Console window:

pakfire remove [-y] <package> [<package> . . . ]

Update package list

Contact the servers for new lists of pakfire packages. Updates will appear if the file is older than one day.

pakfire update

Force update of package list

Contact the servers for new lists of pakfire packages no matter the age of last update.

pakfire update --force

Upgrade all packages

Installs the latest version of all pakfire packages.

pakfire upgrade

Force upgrade of all packages

TBD - FIXME

pakfire upgrade --force

Available packages

A list of available packages can be found by using the following Command in the Console window:

pakfire list [--no-colors]

Package information

More verbose package information including dependencies, installation status and more, can be displayed using the following Command in the Console window:

pakfire info <package> [<package> ...]

Resolve dependencies

Provides a list of dependencies for each package entered.

pakfire resolvedeps package [<package> ...]

Status of pakfire

This enables Pakfire to return a Status-Summary for the Current Core-Update-Level, time since last updates, the availability of a core-/packet-update and if a reboot is required to complete an update.

This can be used by monitoring agents (e.g. zabbix_agentd) to monitor the update status of the IPFire device.

pakfire status

Manually choose a mirror

Need to pick a specific pakfire mirror? Edit the /opt/pakfire/etc/pakfire.conf file:

# Only use this mirror
#$mirror = "https://<mirror>/pakfire2";
$mirror = "https://mirror1.ipfire.org/pakfire2";

Pick a favorite server from this list:
https://mirrors.ipfire.org

  • Locate the favored server
  • click on the server link
  • click BROWSE MIRROR
  • locate and click on the pakfire2 directory
  • use this URL to populate the $mirror variable in the /opt/pakfire/etc/pakfire.conf file.