1. 程式人生 > 程式設計 >輕鬆掌握正則表示式findall函式詳解

輕鬆掌握正則表示式findall函式詳解

yum的常用命令

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版本資訊