Question | Answer |
Updates /etc/apt/sources.list file with latest info about available packages | update |
Upgrades all installed packages to latest version | upgrade |
Show all package dependencies (upgrades to new version) | dist-upgrade |
install a package using package name | install |
Remove a package but leaves the configuration files | remove |
Removes package and configuration files | purge |
Retrieve the latest version (accesses /etc/apt/sources.list file) | source |
Checks package for consistency and errors | check |
Removes unneeded package info files and logs (needed when not using the deselect utility to install packages) | clean |
Remove packages that can no longer be downloaded | autoclean |
Download without installing | apt-get -d |
attempt to fix a computer with unsatisfied dependencies | apt-get install -f
apt-get remove -f |
Show less info | apt-get -q |
Simulates install only | apt-get -s |
Yes response to yes/no questions | apt-get -y |
List of upgraded packages | apt-get -u |
Front-end to APT - dispalys a list of software packages and allows users to interactively pick packages to install or remove | aptitude |
Used to convert a non-Debian package to a Debian package | alien |
Formats supported by alien | slackware (.tgz)
Red Hat (.rpm)
stampede (.slp) |
Converts a package to a gzip tar arcive | alien -t |
Used for searching APT software package cache - collects info of packages and used to search for what available packages are ready for installation | apt-cache |
list all available packages | apt-cache pknames |
Find out package name and description of the usftpd package before installing | apt-cache search usftpd |
check info of a package (version, checksum, installed size, category etc) | apt-cache check |
Show dependencies for the usftpd package | apt-cache showpkg usftpd |
Display overall statistics about the cache | apt-cache stats |