check 檢查 RPM 數(shù)據(jù)庫問題
check-update 檢查是否有可用的軟件包更新
clean 刪除緩存數(shù)據(jù)
deplist 列出軟件包的依賴關系
distribution-synchronization 已同步軟件包到最新可用版本
downgrade 降級軟件包
erase 從系統(tǒng)中移除一個或多個軟件包
fs Creates filesystem snapshots, or lists/deletes current snapshots.
fssnapshot Creates filesystem snapshots, or lists/deletes current snapshots.
groups 顯示或使用、組信息
help 顯示用法提示
history 顯示或使用事務歷史
info 顯示關于軟件包或組的詳細信息
install 向系統(tǒng)中安裝一個或多個軟件包
langavailable Check available languages
langinfo List languages information
langinstall Install appropriate language packs for a language
langlist List installed languages
langremove Remove installed language packs for a language
list 列出一個或一組軟件包
load-transaction 從文件名中加載一個已存事務
makecache 創(chuàng)建元數(shù)據(jù)緩存
provides 查找提供指定內(nèi)容的軟件包
reinstall 覆蓋安裝軟件包
repo-pkgs 將一個源當作一個軟件包組,這樣我們就可以一次性安裝/移除全部軟件包。
repolist 顯示已配置的源
search 在軟件包詳細信息中搜索指定字符串
shell 運行交互式的 yum shell
swap Simple way to swap packages, instead of using shell
update 更新系統(tǒng)中的一個或多個軟件包
update-minimal Works like upgrade, but goes to the 'newest' package match which fixes a problem that affects your system
updateinfo Acts on repository update information
upgrade 更新軟件包同時考慮軟件包取代關系
version 顯示機器和/或可用的源版本。
-h, --help 顯示此幫助消息并退出
-t, --tolerant 忽略錯誤
-C, --cacheonly 完全從系統(tǒng)緩存運行,不升級緩存
-c [config file], --config=[config file]
配置文件路徑-R [minutes], --randomwait=[minutes]
命令最長等待時間-d [debug level], --debuglevel=[debug level]
調(diào)試輸出級別--showduplicates 在 list/search 命令下,顯示源里重復的條目
-e [error level], --errorlevel=[error level]
錯誤輸出級別--rpmverbosity=[debug level name]
RPM 調(diào)試輸出級別-q, --quiet 靜默執(zhí)行
-v, --verbose 詳盡的操作過程
-y, --assumeyes 回答全部問題為是
--assumeno 回答全部問題為否
--version 顯示 Yum 版本然后退出
--installroot=[path] 設置安裝根目錄
--enablerepo=[repo] 啟用一個或多個軟件源(支持通配符)
--disablerepo=[repo] 禁用一個或多個軟件源(支持通配符)-x [package], --exclude=[package]
采用全名或通配符排除軟件包--disableexcludes=[repo]
禁止從主配置,從源或者從任何位置排除--disableincludes=[repo]
disable includepkgs for a repo or for everything--obsoletes 更新時處理軟件包取代關系
--noplugins 禁用 Yum 插件
--nogpgcheck 禁用 GPG 簽名檢查
--disableplugin=[plugin]
禁用指定名稱的插件--enableplugin=[plugin]
啟用指定名稱的插件--skip-broken 忽略存在依賴關系問題的軟件包
--color=COLOR 配置是否使用顏色
--releasever=RELEASEVER
在 yum 配置和 repo 文件里設置 $releasever 的值--downloadonly 僅下載而不更新
--downloaddir=DLDIR 指定一個其他文件夾用于保存軟件包
--setopt=SETOPTS 設置任意配置和源選項
--bugfix Include bugfix relevant packages, in updates
--security Include security relevant packages, in updates
--advisory=ADVS, --advisories=ADVS
Include packages needed to fix the given advisory, in
updates--bzs=BZS Include packages needed to fix the given BZ, in
updates--cves=CVES Include packages needed to fix the given CVE, in
updates--sec-severity=SEVS, --secseverity=SEVS
Include security relevant packages matching the
severity, in updates
Linux命令參數(shù)詳細解析-yum
?著作權歸作者所有,轉載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務。
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務。
相關閱讀更多精彩內(nèi)容
- Spring Cloud為開發(fā)人員提供了快速構建分布式系統(tǒng)中一些常見模式的工具(例如配置管理,服務發(fā)現(xiàn),斷路器,智...
- 1. 概述 日常的工作中,經(jīng)常要安裝和卸載軟件,在linux centos的版本里提供了rpm這個命令進行安裝,但...
- 工作中,搭建Linux測試環(huán)境少不了安裝一系列軟件;為了實現(xiàn)簡易安裝軟件,必須先裝好yum。 【安裝環(huán)境】 物理機...
- 2月14日韻律白風日自我覺察打卡作業(yè): 1,最常常跟人說自己哪件“創(chuàng)傷、悲慘經(jīng)歷”?詳細地把它寫下來,按照自己最常...