Commands Help : apt-get

  •   Install or upgrade packages

[SYNOPSIS] apt-get OPTION COMMAND PACKAGE
command
installInstall packages
# apt-get install package
updateDownload lists of new/upgradable packages.
upgradePerform an upgrade.
removeRemove packages.
# apt-get remove package
purgeRemove packages includes configuration files.
# apt-get purge package
autoremoveRemove automatically all unused packages.
# apt-get autoremove package
dist-upgradeDistribution upgrade.
cleanErase downloaded archive files.
autocleanErase old downloaded archive files.
downloadDownload the binary package into the current directory.
changelogDownload and display the changelog for the given package.

option
-yAssume "yes" as answer to all prompts.
# apt-get -y install package
-sPerform a simulation of events that would occur based on the current system state but do not actually change the system.
-dPackage files are only retrieved, not unpacked or installed.
-qProduces output suitable for logging, omitting progress indicators.
-hShow help.
-VShow full versions for upgraded and installed packages.
-fAttempt to correct a system with broken dependencies in place.
-uPrint out a list of all packages that are to be upgraded.

Comments

Popular posts from this blog

PostgreSQL - String Function

SwiftUI - TEXT

PostgreSQL - DATE/TIME Functions and Operators