Skip to content

APT Notes

Install package

1
2
3
sudo apt-get install package-name
# Package with a specific version
sudo apt-get install package-name=8.0.0.1-xenial

Remove package

1
sudo apt-get remove package-name

Determine version of package available

1
2
apt-cache policy package-name
apt-cache policy substring*

Search for package

1
apt-cache search package-name