2011年2月9日 星期三

Ubuntu: apt-get 套件管理

更新套件清單
sudo apt-get update

自動檢查需要更新的軟體並更新
sudo apt-get upgrade

查詢可用套件
apt-cache search <key>

僅從套件名稱搜尋
apt-catche -n search <key>

安裝軟體
sudo apt-get install <name>

重新安裝
sudo apt-get reinstall <name>

移除套件,留下設定檔
sudo apt-get remove <name>

完整移除套件
sudo apt-get --purge remove <name>

套件管理程式
System-> Administration-> Synaptic Package Manager

refer from:
http://www.cc.ncu.edu.tw/document/Ubuntu/96/Basic1_2.pdf

沒有留言:

張貼留言