This recipe shows how new software packages are installed using the apt-get install
command.
In addition to updating the software package catalog and upgrading the already installed software packages, the apt-get
command can also be used to install new software packages.
In this recipe, the fortune-mod
software package is installed using the apt-get install
command. Other software packages can be installed using this same recipe; just replace the fortune-mod
package with the software package that you would like to install.
Tip
It is always a good idea to first update the software catalog using the apt-get update
command and then upgrade the existing software packages using the apt-get dist-upgrade
command before you begin installing new software packages (go through the Updating the operating system recipe for more information).
After completing this recipe, you will be able to install new software packages using the apt-get install
command.