26.10.2014, 02:59 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

The Debian Advanced Packaging Tool, APT


Installing Debian Packages (apt)

Here are presented the most important options, with examples. For the complete reference visit The Apt-HowTo

command description example
dpkg --install installs/updates the given package dpkg --install package.deb
apt-get install install a package ( known in the database package) apt-get install package
dpkg --install installs/updates the given package dpkg --install package.deb
apt-get install install a package ( known in the database package) apt-get install package
apt-get remove remove an installed package apt-get remove package
apt-get update update the package database apt-get update
apt-get dist-upgrade all installed packages will be updated unless the dependencies dont allow that apt-get dist-upgrade
apt-cache search Search (within the package database) the named package apt-cache search package
apt-rdepends show all packages that are needed by the given package
apt-rdepends we kann also find all packages that depend on the given one apt-rdepends -r package
dpkg -l list all installed packages dpkg --list
dpkg -S search the package that contains the given file dpkg -S /etc/mail.rc


Some useful options for apt-get:
-h show the help message
-d Download only - do NOT install or unpack archives
-f Attempt to continue if the integrity check fails
-s No-act. Perform ordering simulation
-y Assume Yes to all queries and do not prompt
-u Show a list of upgraded packages as well


apt-get dist-upgrade -d download all packages that will be updated with the dist-upgrade
apt-get -f install package install the given package even if the dependencies are not correctly satisfied (you think you know better!)
apt-get -f install try to fix installation problems.
XML Revisions of $tag
Seiten-History :: Letzter Editor : Richard :: Eigentümer : CokeintheBottle ::
Powered by pnWikka 1.0
 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.