Yum常用命令及Yum中文手册(2)

remove:移出某个软件,后跟软件名称

search:Search package details for the given string 搜索某个软件或重要关键字

list:List a package or groups of packages列出yum所管理的软件名称与版本,类似于rpm –qa

info:Display details about a package or group of packages,类似于rpm –qai

clean:Remove cached data 下载文件被放置在/var/cache/yum中,可以使用clean清除。

check-update:Check for available package updates

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

groupupdate:升级整个软件群组

help:Display a helpful usage message

Deplist:List a package’s dependencies    列出软件包的依赖关系,在使用本地源软件包进行安装时,可以查看依赖关系

**Downgrade:**downgrade a package

**Erase:**Remove a package or packages from your system

localinstall:Install a local RPM安装本地的rpm软件包

**makecache:**Generate the metadata cache 生成数据缓存

provides:Find what package provides the given value 找到包提供的给定值

reinstall:reinstall a package 重装软件包

repolist:Display the configured software repositories

resolvedep:Determine which package provides the given dependency

shell:Run an interactive yum shell

upgrade:Update packages taking obsoletes into account

options

**-y:**answer yes for all questions当yum询问用户意见时,主动回答yes不需由键盘输入

-installroot=[path]:set install root安装在其他的路径,而不再当前目录树的架构中

-h --help:show this help message and exit

-t --tolerant:be tolerant of errors

-C:run entirely from cache, don’t update cache

-c:[config file]config file location

-R  [minutes]         maximum command wait time

-d  [debug level]     debugging output level

-showduplicates      show duplicates, in repos, in list/search commands

-e  [error level]     error output level

-q, --quiet           quiet operation

-v, --verbose         verbose operation

-version             show Yum version and exit

-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

总结

现在新技术层出不穷,如果每次出新的技术,我们都深入的研究的话,很容易分散精力。新的技术可能很久之后我们才会在工作中用得上,当学的新技术无法学以致用,很容易被我们遗忘,到最后真的需要使用的时候,又要从头来过(虽然上手会更快)。

我觉得身为技术人,针对新技术应该是持拥抱态度的,入了这一行你就应该知道这是一个活到老学到老的行业,所以面对新技术,不要抵触,拥抱变化就好了。

Flutter 明显是一种全新的技术,而对于这个新技术在发布之初,花一个月的时间学习它,成本确实过高。但是周末花一天时间体验一下它的开发流程,了解一下它的优缺点、能干什么或者不能干什么。这个时间,并不是我们不能接受的。

如果有时间,其实通读一遍 Flutter 的文档,是最全面的一次对 Flutter 的了解过程。但是如果我们只有 8 小时的时间,我希望能关注一些最值得关注的点。

(跨平台开发(Flutter)、java基础与原理,自定义view、NDK、架构设计、性能优化、完整商业项目开发等)


《Android学习笔记总结+移动架构视频+大厂面试真题+项目实战源码》点击传送门,即可获取!
、java基础与原理,自定义view、NDK、架构设计、性能优化、完整商业项目开发等)

[外链图片转存中…(img-Z6UzXBgO-1715757840784)]
《Android学习笔记总结+移动架构视频+大厂面试真题+项目实战源码》点击传送门,即可获取!

  • 3
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值