apt-get is used for package management or system administration in the Debian family. Consult the distribution manual for release-specific behaviour.
sudo apt-get install <package>apt-get is used for package management or system administration in the Debian family. Consult the distribution manual for release-specific behaviour.
apt-get [options] commandapt-get is used for package management or system administration in the Debian family. Consult the distribution manual for release-specific behaviour.
sudo apt-get install <package>Show command help and options where supported.
apt-get --help| Option / clause | Description |
|---|---|
update | Refresh package indexes. |
install <package> | Install a package and its dependencies. |
remove / purge <package> | Remove a package; purge also removes configuration files. |
-y, --yes | Answer prompts automatically; review changes first. |
-s, --simulate | Simulate the transaction without applying it. |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.