ºìÁªLinuxÃÅ»§
Linux°ïÖú
µ±Ç°Î»ÖÃ: ºìÁªLinuxÃÅ»§ > Debian

Debian°ü¹ÜÀí¼¼ÇÉ

·¢²¼Ê±¼ä:2007-09-10 00:33:12À´Ô´:ºìÁª×÷Õß:Archive
²é¿´Èí¼þXXX°²×°ÄÚÈÝ
dpkg -L xxx

²éÕÒÈí¼þ
apt-cache search ÕýÔò±í´ïʽ

²éÕÒÎļþÊôÓÚÄĸö°ü
dpkg -S filename
apt-file search filename

²éѯÈí¼þxxxÒÀÀµÄÄЩ°ü
apt-cache depends xxx

²éѯÈí¼þxxx±»Äĸö°üÒÀÀµ
apt-cache rdepends xxx

Ôö¼ÓÒ»¸ö¹âÅÌÔ´
sudo apt-cdrom add

ϵͳÉý¼¶
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

Çå³ýËùÓÐÒÑɾ³ý°üµÄ²ÐÓàÅäÖÃÎļþ
dpkg -l |grep ^rc|awk '{print $2}' |tr ["\n"] [" "] sudo xargs dpkg -P -

±àÒëʱȱÉÙh ÎļþµÄ×Ô¶¯´¦Àí
sudo auto-apt run ./configure

²é¿´°²×°Èí¼þʱÏÂÔØ°üµÄÁÙʱ´æ·ÅĿ¼
ls /var/cache/apt/archives

±¸·Ýµ±Ç°ÏµÍ³°²×°µÄËùÓаüµÄÁбí
dpkg --set-selections >~/somefile
sudo dselect

ÇåÀí¾É°æ±¾µÄÈí¼þ»º´æ
sudo apt-get clean

ɾ³ýϵͳ²»ÔÙʹÓõĹÂÁ¢Èí¼þ
sudo apt-get autoremove

²é¿´°üÔÚ·þÎñÆ÷ÉϵĵØÖ·
sudo apt-get -qq --print-uris install ssh |cut -d\' -f2
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ