打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Linux下软件包安装(rpm,yum)
check          Check for problems in the rpmdb
check-update   Check for available package updates
clean          Remove cached data    #清空缓存信息
deplist        List a package's dependencies
distribution-synchronization Synchronize installed packages to the latest available versions
downgrade      downgrade a package
erase          Remove a package or packages from your system    #卸载安装包
groupinfo      Display details about a package group    #查看包组信息
groupinstall   Install the packages in a group on your system    #安装包组
grouplist      List available package groups    #查看包组列表信息
groupremove    Remove the packages in a group from your system    #卸载包组
help           Display a helpful usage message
history        Display, or use, the transaction history
info           Display details about a package or group of packages    #查看包或者包组的信息
install        Install a package or packages on your system    #安装包
list           List a package or groups of packages    #列出YUM仓库包列表
load-transaction load a saved transaction from filename    
makecache      Generate the metadata cache        #重新生成元数据缓存(去YUM服务器更新)
provides       Find what package provides the given value
reinstall      reinstall a package    #重新安装程序
repolist       Display the configured software repositories    #列出可用的YUM仓库源
resolvedep     Determine which package provides the given dependency
search         Search package details for the given string    #搜索YUM仓库特定的包
shell          Run an interactive yum shell
update         Update a package or packages on your system    #更新包或这包组
upgrade        Update packages taking obsoletes into account
version        Display a version for the machine and/or available repos.
========选项========
Options:
  -h, --help            show this help message and exit
  -t, --tolerant        be tolerant of errors
  -C, --cacheonly       run entirely from system cache, don't update cache
  -c [config file], --config=[config file]
                        config file location
  -R [minutes], --randomwait=[minutes]
                        maximum command wait time
  -d [debug level], --debuglevel=[debug level]
                        debugging output level
  --showduplicates      show duplicates, in repos, in list/search commands
  -e [error level], --errorlevel=[error level]
                        error output level
  --rpmverbosity=[debug level name]
                        debugging output level for rpm
  -q, --quiet           quiet operation
  -v, --verbose         verbose operation
  -y, --assumeyes       answer yes for all questions
  --assumeno            answer no for all questions
  --version             show Yum version and exit
  --installroot=[path]  set install root
  --enablerepo=[repo]   enable one or more repositories (wildcards allowed)
  --disablerepo=[repo]  disable one or more repositories (wildcards allowed)
  -x [package], --exclude=[package]
                        exclude package(s) by name or glob
  --disableexcludes=[repo]
                        disable exclude from main, for a repo or for
                        everything
  --obsoletes           enable obsoletes processing during updates
  --noplugins           disable Yum plugins
  --nogpgcheck          disable gpg signature checking
  --disableplugin=[plugin]
                        disable plugins by name
  --enableplugin=[plugin]
                        enable plugins by name
  --skip-broken         skip packages with depsolving problems
  --color=COLOR         control whether color is used
  --releasever=RELEASEVER
                        set value of $releasever in yum config and repo files
  --downloadonly        don't update, just download
  --downloaddir=DLDIR   specifies an alternate directory to store packages
  --setopt=SETOPTS      set arbitrary config and repo options
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
Fedora 8的yum更新源
使用CentOS DVD1 和DVD2做本地yum源
解决Redhat Linux5 yum出现This system is not registered with RHN的方案 | 黄克业的博客
Redhat6 使用 yum源
CentOS YUM源配置
yum源的配置
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服