The Fidelix Linux Distribution

Simple, Stable, and Secure

UPGRADEPKG(8) Linux System Administrator's Manual UPGRADEPKG(8)

upgradepkg - upgrade a package

upgradepkg [-hir] [-d ROOT_DIR] <PACKAGE_FILE>

Upgrades the package PACKAGE_FILE. It does this by first installing the new version of the package and then removing all old versions of the package.


-d <root directory>
Causes the package to be upgraded in the specified root directory instead of the default of /.
If the package is already installed, reinstall it.
Displays a help message.
If the package is not already installed, install it.

Upgradepkg was written by Scott Court (

installpkg(8) removepkg(8) makepkg(8)
2020-03-24 Fidelix 0.2