yum常用命令

--查看那些包提供服務
yum provides ifconfig
yum whatprovides ifconfig
--安裝
yum install net-tools


--常用命令


1.安裝軟件


yum install 軟件名稱


2.卸載軟件


yum remove 軟件名稱


3.更新軟件


yum update 軟件名稱


4.列出所有可安裝的軟件包


yum list


5.列出所有可更新的軟件包


yum list updates


6.列出所有已安裝的軟件包


yum list installed


7.列出所有可更新的軟件包信息


yum info updates


8.列出所有已安裝的軟件包信息


yum info installed




 --其它命令


check Check for problems in the rpmdb
check-update 檢查是否有軟件包更新
clean 刪除緩存的數據
deplist 列出軟件包的依賴關係
distribution-synchronization Synchronize installed packages to the latest available versions
downgrade downgrade a package
erase 從系統中移除一個或多個軟件包
groupinfo 顯示組的詳細信息
groupinstall 向系統中安裝一組軟件包
grouplist 列出可安裝的組
groupremove 從系統中移除一組軟件包
help 顯示用法信息
history Display, or use, the transaction history
info 顯示關於軟件包或組的詳細信息
install 向系統中安裝一個或多個軟件包
list 列出一個或一組軟件包
load-transaction load a saved transaction from filename
makecache 創建元數據緩存
provides 查找提供指定內容的軟件包
reinstall 覆蓋安裝一個包
repolist 顯示已配置的倉庫
resolvedep 判斷哪個包提供了指定的依賴
search 在軟件包詳細信息中搜索指定字符串
shell 運行交互式的 yum 外殼
update 更新系統中的一個或多個軟件包
update-minimal Works like update, but goes to the 'newest' package match which fixes a problem that affects your system
updateinfo Acts on repository update information
upgrade 更新軟件包同時考慮軟件包取代關係
version yum版本信息
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章