Nov 12
|
Action |
apt-get command |
aptitude command |
|
Install foo |
apt-get install foo |
aptitude install foo |
|
Search foo |
apt-cache search foo |
aptitude search foo |
|
Remove foo |
apt-get remove foo |
aptitude remove foo |
|
List reverse dependencies |
apt-cache rdepends foo |
aptitude ~D foo |
|
Print information on priorities for foo |
apt-cache policy foo |
? |
|
Download foo’s sources and build a binary .deb package |
apt-get source –compile foo |
? |
How to upgrade your distribution
Find out current version of Debian that you are running:
cat /etc/debian_version
Example for upgrading sarge to etch or etch 4.0r1 to 4.0r2 …etc
aptitude updateaptitude dist-upgrade溫故知新
載入中…







November 13th, 2009 at 8:22 am
我猜呀!Lauct 應該是在玩 ubuntu,apt-get 挺好用,也很好玩,Fedora 上的 Yum 還沒有發展出來之前,這一支套件也曾被 Fedora 拿來用,很有意思。
Lauct Reply:
November 13th, 2009 at 9:27 am
算猜對一半XD
我是在玩 Debian,不過是裝在小台 NAS 上的。