Using apt-get

Dec 04, 2015

Length: 09:35

Using apt-get to install, search, query and remove software on Debian and Ubuntu servers.

Command Rundown

We cover the following commands to install, search, show info and remove Ubuntu packages:

# Install a package
sudo apt-get install [-y|-qq] package name

# Search for a package
sudo apt-cache search [-n] package name

# Show information about a package
sudo apt-cache show package-name

# Uninstall a package
sudo apt-get remove [--purge] package-name

# Uninstall unused dependencies
# which `remove` does not do
sudo apt-get autoremove

Resources