suse本身就有yast2好用的管理系統可以使用,不過想在suse上使用apt的話也是可以,只需要安裝二個套件可以在suse上使用apt了,相當簡單
取得套件
下載 apt套件
安裝apt套件
# rpm apt-*.rpm
apt指令
apt-get update : 更新套件清單,在第一次使用apt時最好先更新一次,確保套件是新的
apt-get dist-update : 升級系統
apt-cache search : 搜尋套件,apt-cache search 套件名稱
apt-cache depends : 列出套件相依性,apt-cache depands 套件名稱
apt-get install : 安裝套件,apt-get install 套件名稱
apt-get clean : 清除暫存套件,當使用apt安裝套件時,apt會先下載套件下來安裝,所以可以使用這指令清空apt下載暫存套件
apt-get remove : 刪除套件,apt-get remove 套件名稱
參考資料
http://apt.nc.hcc.edu.tw/web/apt/apt.html