Skip to main content

Package Management

Update Package

To refresh the local package, run the following command in the terminal:

apt-get update

Install or Update a Package

To install or upgrade a specific package — for example, hello — run the following command:

apt-get install hello

Remove a Package

To uninstall a package while preserving its configuration files — for example, hello, run the following command::

apt-get remove hello

To completely remove a package along with its configuration files, run the following command::

apt-get purge hello