packages:install_a_package
This is an old revision of the document!
Packages - Install a package
Aptitude is preferred, but other approaches can be used if desired.
Using aptitude
First, update the package index. The package index is essentially a database of available packages from the repositories defined in the /etc/apt/sources.list file and in the /etc/apt/sources.list.d directory.
sudo aptitude update
Now install the package.
sudo aptitude install package_name
NOTE:APT keeps a copy of each downloaded .deb file in the directory /var/cache/apt/archives/. In case of frequent updates, this directory can quickly take a lot of disk space with several versions of each package.
packages/install_a_package.1467731723.txt.gz ยท Last modified: 2020/07/15 09:30 (external edit)