<<< 指令 >>> install 安裝套件 reinstall 重新安裝套件 check-update 檢查更新 distribution-synchronization 更新到最新 update Update a package or packages on your system upgrade Update packages taking obsoletes into account downgrade 降級 erase 刪除套件 deplist 列出套件相依性 info 取得套件資訊 provides 搜尋指定檔案所屬套件 search 搜尋套件 check 檢查資料庫 clean 清空 cache load-transaction 載入已有的 transaction makecache 產生 metadata cache version 顯示系統版本 groupinfo 取得群組資訊 groupinstall 安裝整個群組 grouplist 列出群組清單 groupremove 刪除整個群組 history 歷程紀錄 list 列出清單 repolist 套件庫列表 resolvedep 解析相依性 search 搜尋套件 Shell specific arguments: config - 設定選項 repository (or repo) - enable/disable/list repositories transaction (or ts) - list, reset or run the transaction set run - 開始執行 transaction exit or quit - exit the shell ============================================================================== <<< 選項 >>> -y 統統回答 Yes --disableplugin=[plugin] --enableplugin=[plugin] --installroot=[path] --releasever=RELEASEVER --source (僅在 yumdownloader 可用) 下載 source rpm --resolve (僅在 yumdownloader 可用) 根據已安裝套件下載相依套件 ============================================================================== <<< 外掛 >>> fastestmirror 最快的鏡像站 presto 節省下載量 security 提供 --security,檢查或安裝更新時只考慮安全性更新