天天看點

Debian系列軟體管理(第二版)Debian系列軟體管理

1、搜尋軟體包資訊

apt-cache search

apt-cache search yum

2、檢視軟體包資訊

apt-cache show rpm

3、安裝軟體

apt-get install rpm

選項: apt-get reinstall 覆寫安裝

-f 修複安裝

4、解除安裝,與YUM類似

apt-get remove rpm

選項: apt-get autoremove rpm 自動解決依賴關系

--purge 不報留配置檔案

5、更新軟體源

apt-get update

6、更新已安裝軟體包

apt-get upgrade

繼續閱讀