Debian/Red Hat軟件管理的一些工具

Debian系:

命令 說明
dpkg -S 顯示軟件所在的包
dpkg -L 列出包內的文件
aptitude search 搜索軟件
aptitude install 安裝軟件
apt-get source 下載包源碼

Red Hat系:

命令 說明
rpm -qf 查找文件所在的包
rpm -ql 列出包內的程序
yum list
yum install 安裝軟件
yumdownloader –source 下載源碼
rpm2cpio 解壓rpm包
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章