Return to Snippet

Revision: 1436
at October 6, 2006 16:44 by yuconner


Updated Code
#search
apt-cache search packagename

#package info
apt-cache show packagename

#clean
sudo apt-get clean
sudo apt-get autoclean #old packages

#check
apt-get check

#get source code
apt-get source packagename

#get dep
apt-get build-dep packagename

#update/install/remove/upgrade
sudo apt-get update
sudo apt-get install packagename
sudo apt-get remove packagename
sudo apt-get upgrade
sudo apt-get dist-upgrade

Revision: 1435
at October 6, 2006 16:43 by yuconner


Updated Code
#search
apt-cache search packagename

#package info
apt-cache show packagename

#clean
sudo apt-get clean
sudo apt-get autoclean #old packages

#check
apt-get check

#update/install/remove/upgrade
sudo apt-get update
sudo apt-get install packagename
sudo apt-get remove packagename
sudo apt-get upgrade
sudo apt-get dist-upgrade

Revision: 1434
at October 6, 2006 16:20 by yuconner


Initial Code
#search
apt-cache search packagename

#package info
apt-cache show packagename

#install
sudo apt-get install packagename

#remove
sudo apt-get remove packagename

Initial URL

                                

Initial Description

                                

Initial Title
useful apt-get commands

Initial Tags

                                

Initial Language
Bash