Skip to content

Ubuntu

Search for package in repos

apt-cache search <package name>

Find if package already installed

dpkg -l <package name>
# Unsure of the name
dpkg -l | grep <partial package name>

Install package

sudo apt-get install -y <package name>

Remove package

sudo apt-get remove <package name>

Find location of installed binary

dpkg -S <package name>