aptitude比apt-get 要好用。是 Debian 及其衍生系統中功能極其強大的包管理工具。與 apt-get 不同的是,aptitude在處理依賴問題上更佳一些。舉例來說,aptitude在刪除一個包時,會同時刪除本身所依賴的包。這樣,系統中不會殘留無用的包,整個系統更為干凈。
列幾個常用的命令:
sudo apt-get -f install softname --用于修復依賴庫
sudo apt-cache search softname
sudo aptitude install softname
sudo aptitude remove softname
sudo aptitude search softname
sudo aptitude update
新聞熱點
疑難解答