Thursday, February 4, 2010

Debian and Ubuntu Linux Package Management Commands


Debian and Ubuntu Linux Package Management
Update package list
apt-get update
Update Full System
Apt-get upgrade
Install new software from package repository
Apt-get install pkg
Install new software from package file
dpkg -i pkg
Update existing software
apt-get install pkg
Remove unwanted software
apt-get remove pkg
Search by package name
apt-cache search pkg
Search by string
apt-cache search string
List installed packages
dpkg -l
List repositories
cat /etc/apt/sources.list
Add /Remove repository
edit /etc/apt/sources.list

No comments:

Post a Comment