Skip to content

Instantly share code, notes, and snippets.

@greyaperez
Created March 17, 2014 04:02
Show Gist options
  • Save greyaperez/9593812 to your computer and use it in GitHub Desktop.
Save greyaperez/9593812 to your computer and use it in GitHub Desktop.
Common & Useful apt-get/apt-cache commands
# Install Something (duh...)
apt-get install {package name}
# Search for Package in Repos
apt-cache search
# Get Package Info In Detail (including version)
apt-cache show {package name}
# Remove a Package
apt-get --purge remove {package name}
# Show Installed Pacakges
dpkg -l
dpkg -l | grep {filter term}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment