First, the software name recognition
[abrt-addon-ccpp]-[2.1.11-19]. [E17]. [X86_64].rpm # #rpm结尾的适用于redhat操作系统
Software name software version applicable system 64-bit
Second, how to install the software
1.rpm
RPM-IVH # #安装-V Display procedure,-h specifies the encryption method is hash
-E # #卸载
-QL # #查询软件生成文件
-QLP # #查询软件安装后会生成什么文件
-QA # # Check the name of all software installed in the new system
-QA |grep Name # #查询软件是否安装
-QP # # Query Software installation package name after installation
-QF FileName # # See which installation package filename belongs to
-IVH name.rpm--force # #强制安装
-qi # #查看安装信息
-KV # #检测软件包是否被篡改
-QP name.rpm--scripts # #检测软件在安装或者卸载过程中执行的动作
2.yum
Top software management tools, the most important function is to solve the software dependencies
Yum must have a Yum source, as well as a pointer to a configuration source file.
# # # # #server源端 # #
1. Download the ISO image file that matches the native system version from the Web
Rhel-server-7.2-x86_64-dvd.iso
2. Mount the Rhel-server-7.2-x86_64-dvd.iso to/linux to access the files in the image
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M00/90/07/wKioL1ju5bXiybw0AAA3KhilVQI382.png "title=" Screenshot from 2017-04-12 15-54-53.png "alt=" Wkiol1ju5bxiybw0aaa3khilvqi382.png "/>
3. Configure the native Yum source to point to
rm-fr/etc/yum.repos.d/*
Vim/etc/yum.repos.d/yum.repo
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M00/90/08/wKioL1ju5hXhXtKWAAATeLPLLuE989.png "title=" Screenshot from 2017-04-12 15-55-09.png "alt=" Wkiol1ju5hxhxtkwaaatelpllue989.png "/>
4. Install the resource sharing server
Yum Install Httpd-y
Systemctl Stop Firewalld
Systemctl Disable FIREWALLD
Systemctl Start httpd
Systemctl Enable httpd
5. Create a shared directory and mount the image file to a shared directory
650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M00/90/08/wKioL1ju5sfR4u7WAABTOpQNHoM131.png "title=" Screenshot from 2017-04-12 16-01-43.png "alt=" Wkiol1ju5sfr4u7waabtopqnhom131.png "/>
6. Test:
650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M00/90/09/wKiom1ju5uaSW4wQAAClR8jI4rY375.png "title=" Screenshot from 2017-04-12 16-02-48.png "alt=" Wkiom1ju5uasw4wqaaclr8ji4ry375.png "/>
7. Modify the native Yum source to point to
650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M01/90/09/wKiom1ju5yzwdFobAAAiIPWkrFM133.png "title=" Screenshot from 2017-04-12 16-03-59.png "alt=" Wkiom1ju5yzwdfobaaaiipwkrfm133.png "/>
8. Boot automatically mount ISO
650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M02/90/09/wKiom1ju51OzCuh7AABQ7PKsyRY390.png "title=" Screenshot from 2017-04-12 16-06-15.png "alt=" Wkiom1ju51ozcuh7aabq7pksyry390.png "/>
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M01/90/08/wKioL1ju51-z2oGIAAAm_wrB3A0956.png "title=" Screenshot from 2017-04-12 16-06-28.png "alt=" Wkiol1ju51-z2ogiaaam_wrb3a0956.png "/>
9.client pointing End
Vim/etc/yum.repos.d/xxx.repo
650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M00/90/09/wKiom1ju5-GBByaNAAAlO9Qq2mg896.png "title=" Screenshot from 2017-04-12 16-30-12.png "alt=" Wkiom1ju5-gbbyanaaalo9qq2mg896.png "/>
Yum Clean All # #清空yum缓存识别新配置
Third, the Yum command
Yum Istall # #安装
Repolist # #列出设定的yum源信息
Remove # #卸载
List # #查看软件源中是否有此软件
List all # #列出所有软件名称
List Installd # #列出已经安装的软件名称
List Available # #列出可以用yum安装的软件名称
Clean All # #清空yum缓存
Serach # #根据软件信息搜索软件名字
Whatprovides # #在yum源中查找包含 () file packages
Update # #更新软件
History # #查看系统软件改变历史
Reinstall # #重新安装
Info # #查看软件信息
Groups List # #查看软件组信息
Groups Info # #查看软件组内包含的软件
Groups Isstall # #安装组件
Groups Remove # #卸载组件
New Linux Learning Path (12)---software Installation