Update the local package library
apt-get update
Upgrade all packages
apt-get upgrade
Upgrade ONE package
apt-get install --only-upgrade git
Install a package
apt-get install <package name>
Install a specific version
apt install <package name>=<version> # ex. apt install git=1.25.1
Remove a package
apt-get remove <package name>
Remove unused dependencies
apt-get autoremove
Search for a package
apt-cache search <package name>
Show package info
apt show <package name>
Lista all versions for a package
apt list --all-versions <package name>
0 Comments.