💾 Archived View for freeshell.de › tldr › apt-get.gmi captured on 2022-06-11 at 21:24:21. Gemini links have been rewritten to link to archived content
View Raw
More Information
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
apt-get
Debian and Ubuntu package management utility.
Search for packages using `apt-cache`.
More information.
- Update the list of available packages and versions (it's recommended to run this before other `apt-get` commands):
apt-get update
- Install a package, or update it to the latest available version:
apt-get install {package}
apt-get remove {package}
- Remove a package and its configuration files:
apt-get purge {package}
- Upgrade all installed packages to their newest available versions:
apt-get upgrade
- Clean the local repository - removing package files (`.deb`) from interrupted downloads that can no longer be downloaded:
apt-get autoclean
- Remove all packages that are no longer needed:
apt-get autoremove
- Upgrade installed packages (like `upgrade`), but remove obsolete packages and install additional packages to meet new dependencies:
apt-get dist-upgrade
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY