When yum installs software, I can't remember the full package name. How to find the complete package name?


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


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

Guess you like

Origin blog.csdn.net/qq_50377269/article/details/132068716