Package Upgrades via CLI
-
Hi all,
Is there a way to install/remove/update pfSense packages from the shell/console as well or can this only be done via the WebGUI? If yes, what would be the process to do so? Thanks in advance.
-
I think I answered my own question, found this page in the documentation:
https://docs.netgate.com/pfsense/en/latest/troubleshooting/pkg-broken-database.html
Is this correct method?
/usr/local/sbin/pkg-static install -yf <additional-package> <another-additional-package>
Thanks again.
-
If the packagess are already installed and you just want to update
pkg upgrade
will do it.
-
Pkg update
Pkg cleanClean gets rid of old versions no longer needed