next up previous contents index
Next: Upgrading Packages Up: apt-get Previous: Updating Packages Files   Contents   Index

Installing Packages

Installing packages with apt-get is very simple. You only need to know the name of the package. The version numbers and the location in the archives are managed by apt-get without any additional information. So, to install Midnight Commander (mc) simply enter the command:

apt-get install mc

and apt-get will do the rest. In this case, the dependence on a library is discovered and added to the list of packages to install. Once apt-get has determined all the packages that need to be installed, it will ask permission to proceed with the installation. Once a `Y' has been entered the installation process continues to completion.

Many packages can be installed at one time simply by including their names in the installation list on the command line. So, joe (an editor), zgv (a graphics viewer), and slrn (a news reader), could all be installed at once using the command:

apt-get install joe zgv slrn

and apt-get will include any dependencies in the list of packages to install. Dwarf says this is the way to install two packages that depend upon each other and must be installed ``at the same time''.


next up previous contents index
Next: Upgrading Packages Up: apt-get Previous: Updating Packages Files   Contents   Index
Dale Scheetz