Name
apt-get
Synopsis
apt-get [options] command [package...]A command-line tool for handling packages. Will eventually be a backend to APT.
Commands
- autoclean
Like clean, but remove only package files that can no longer be downloaded.
- build-dep
Install or remove packages to satisfy the build dependencies for a source package.
- clean
Clear the local repository of retrieved package files.
- check
Update the package cache and check for broken packages.
- dist-upgrade
Like upgrade, but also handle dependencies intelligently. See the -f option for more information.
- dselect-upgrade
Used with dselect. Track the changes made by dselect to the Status field of available packages and take actions necessary to realize that status.
- install packages
Install one or more packages. Specify the package name, not the full filename. Other required packages are also retrieved and installed. With a hyphen appended to the package name, the package is removed if it is already installed.
- remove packages
Remove one or more packages. Specify the package name, not the full filename. With a plus sign appended to the name, the package is installed.
- source packages
Find source packages and download them into the current directory. If specified with --compile, the source packages are compiled into binary packages. With --download-only, the source packages are not unpacked.
- update
Resynchronize the package overview files from their sources. Must be done before an upgrade or dist-upgrade.
- upgrade
Install the latest versions ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access