All of the Pakfire console commands on one page!
Need a little help remembering the pakfire commands?
pakfire help
[root@ipfire ~]# pakfire help Usage: pakfire <install|remove> [options] <pak(s)> <update> - Contacts the servers for new lists of paks. <upgrade> - Installs the latest version of all paks. <list> - Outputs a short list with all available paks. <status> - Outputs a summary about available core upgrades, updates and a required reboot Global options: --non-interactive --> Enables the non-interactive mode. You won't see any question here. -y --> Short for --non-interactive. --no-colors --> Turns off the wonderful colors.
The Command, for example: to install the package Samba on IPFire via the Console:
pakfire install samba
After a short period the installation process starts.
The Console output can be bypassed with the parameter -y
.
Several packages can be installed at same time by using the Command:
pakfire install -y htop samba bwm-ng nano ...
To uninstall a package e.g. Samba, run the following command in the Console window:
pakfire remove samba
Contact the servers for new lists of pakfire packages. Updates will appear if the file is older than one day.
pakfire update
Contact the servers for new lists of pakfire packages no matter the age of last update.
pakfire update --force
Installs the latest version of all pakfire packages.
pakfire upgrade
TBD - FIXME
pakfire upgrade --force
A list of available packages can be found by using the following Command in the Console window:
pakfire list
[root@ipfire ~]# pakfire list Name: 7zip ProgVersion: 16.02 Release: 7 Name: alac ProgVersion: 0.0.7 Release: 1 . . . Name: zabbix_agentd ProgVersion: 4.2.6 Release: 4 210 packages total. [root@ipfire ~]#
pakfire status
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.
[root@ipfire ~]# pakfire status core-list.db 100.00% |=============================>| 903.00 B Core-Version: 2.25-x86_64 Core-Update-Level: 152 Last update: 27d 1h 39m 39s ago Last core-list update: 2h 8m 43s ago Last server-list update: 18h 15m 58s ago Last packages-list update: 18h 15m 56s ago Core-Update available: no Package-Updates available: 0 Reboot required: no
Older Revisions • December 14 at 3:40 am • Jon