Ubuntu

Search for package in repos

1
apt-cache search <package name>

Find if package already installed

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

Install package

1
sudo apt-get install -y <package name>

Remove package

1
sudo apt-get remove <package name>

Find location of installed binary

1
dpkg -S <package name>