Like this CertiGuide? Get it in PDF format!
Click Here!

Custom Search







Table Of Contents  CertiGuide to A+ (A+ 4 Real)
 9  Chapter 5: The Linux Operating System
      9  Package Management

Previous Topic/Section
rpm - Red Hat Package Manager
Previous Page
Pages in Current Topic/Section
1
Next Page
System Run Levels
Next Topic/Section

apt-get - APT Package Handling Utility

apt is Debian’s Advanced Package Tool for managing, installing, and upgrading packages built with Debian’s packaging system with interesting extensions which have been built so that it will also handle packages built with the rpm tools. It uses a directory, /etc/apt, to hold its configuration information. The file /etc/apt/sources.list holds the locations where apt will look for packages. Packages can be installed using:

apt-get install package_name

Apt will attempt to download the package from the location given in the sources.list file and install it. If there are any dependence issues apt will attempt to download and install those also.

Packages can be updated using:

apt-get update

apt-get upgrade

apt will contact the server to resynchronize its package package index files from their sources. The indexes of available packages are fetched from the location specified in /etc/apt/sources.list. For example, when using a Debian archive, this command retrieves and scans the Packages.gz files, so that information about new and updated packages is available. An update should always be performed before an upgrade or dist-upgrade. Running the second command will cause the command apt to download and install the latest versions of the available packages.

apt-get dist-upgrade

In addition to performing the function of upgrade, apt also intelligently handles changing dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones if necessary.


Previous Topic/Section
rpm - Red Hat Package Manager
Previous Page
Pages in Current Topic/Section
1
Next Page
System Run Levels
Next Topic/Section

If you find CertiGuide.com useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider buying an inexpensive PDF equivalent of the CertiGuide to A+ (A+ 4 Real) from StudyExam4Less.com. Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $



Home - Table Of Contents - Contact Us

CertiGuide to A+ (A+ 4 Real) (http://www.CertiGuide.com/apfr/) on CertiGuide.com
Version 1.0 - Version Date: March 29, 2005

Adapted with permission from a work created by Tcat Houser et al.
CertiGuide.com Version Copyright 2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.