sudo apt-get install <package>
sudo apt-get remove <package>
sudo apt-get autoremove
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
apt-get
is an old command-line tool under the Linux operating system, which is used to manage the installation, upgrade, and removal of software packages. apt
is a new generation of command-line tools that can perform all operations of apt-get
, as well as some new features, such as concurrent downloads and progress output. Therefore, it is recommended to use the apt
command instead of the apt-get
command.