Created
March 17, 2014 04:02
-
-
Save greyaperez/9593812 to your computer and use it in GitHub Desktop.
Common & Useful apt-get/apt-cache commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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