老男孩教育每日一题第117天:yum安装软件的时候,记不全包名,如何查找到完整的包名?

简介:

答案:

方法一:yum search bash

[root@oldboy ~]# yum search bashLoaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * epel: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
===================================== N/S Matched: bash ======================================
bash-argsparse.noarch : An high level argument parsing library for bash
bash-completion.noarch : Programmable completion for Bash
bash-doc.x86_64 : Documentation files for bash
easybashgui.noarch : Bash function library
gromacs-bash.noarch : GROMACS bash completion
pcp-pmda-bash.x86_64 : Performance Co-Pilot (PCP) metrics for the Bash shell
bash.x86_64 : The GNU Bourne Again shell
bats.noarch : Bash Automated Testing System
bti.x86_64 : Bash Twitter Idiocy
python-argcomplete.noarch : Bash tab completion for argparse
sys_basher.x86_64 : A multithreaded hardware exerciser
.......

方法二:

[root@oldboy ~]# yum list|grep ^bash
bash.x86_64               4.1.2-33.el6         @anaconda-CentOS-201508042137.x86_64/6.7
bash-completion.noarch         1:1.3-7.el6          @epel  
bash.x86_64               4.1.2-48.el6         base   
bash-argsparse.noarch          1.7-1.el6          epel   
bash-doc.x86_64             4.1.2-48.el6        base

备注

今天是每日一题陪伴大家的第117天期待你的进步

对于题目和答案的任何疑问,请在博客评论区留言
往期题目索引

http://lidao.blog.51cto.com/3388056/1914205


本文转自 李导 51CTO博客,原文链接:http://blog.51cto.com/lidao/1959635

相关文章
|
3月前
|
Linux
Linux 学习笔记七:YUM安装软件
Linux 学习笔记七:YUM安装软件
|
4月前
|
缓存 关系型数据库 Linux
linux(三十八)编译安装软件与使用yum源安装软件
linux(三十八)编译安装软件与使用yum源安装软件
56 0
|
8月前
|
Linux
linux中centos,用rpm,yum,编译分别安装软件具体步骤
linux中centos,用rpm,yum,编译分别安装软件具体步骤
113 2
|
开发工具 Docker Python
成功解决使用yum安装软件的时候提示/var/run/yum.pid被锁定
成功解决使用yum安装软件的时候提示/var/run/yum.pid被锁定
1009 0
成功解决使用yum安装软件的时候提示/var/run/yum.pid被锁定
|
Linux
Linux 学习笔记七:YUM安装软件
大家好,我是阿萨。昨天自己学习了RPM安装包的常见命令和一些基本知识。今天学习yum。RPM安装软件无法解决包的依赖问题。尤其是库文件依赖。而yum可以很好的解决这个问题。
232 0
|
Linux 开发工具
Linux - yum 安装软件时被 PackageKit 锁定
Linux - yum 安装软件时被 PackageKit 锁定
410 0
Linux - yum 安装软件时被 PackageKit 锁定
|
缓存
解决yum安装软件报错--skip-broken
yum安装软件报错–skip-broken
822 0
解决yum安装软件报错--skip-broken
|
关系型数据库 MySQL Linux
Linux CentOS环境下通过yum命令快速安装软件
Linux CentOS环境下通过yum命令快速安装软件
1255 0