First, Linux installed software 3 Method 1, Yum installation
Download the software for you to install for you to solve the dependency point out of the lack of things to sell out solution
- Convenient and simple
- There is no way to further modify
Example:
Yum install-y Tree
2, RPM installation
Self-download package yourself to solve the lack of self-reliance on semi-finished products
Installation to resolve dependent complex
RPM-IVH treexxxxxxxxxxx.rpm
3. Compile and install
Download the package yourself and install yourself to resolve dependent on your own tastes according to the continuing needs
- Custom
- Process complexity
Prepare vegetables-cut vegetables and stir-fry dishes
./configure Make make Install
4. Check if a software is installed
Rpm-qa #显示出系统已经安装了的软件
-Q Query
-A All
[Email protected] ~]# Rpm-qa|grep tree
Tree-1.5.3-3.el6.x86_64
#iptables是否安装了?
[Email protected] ~]# Rpm-qa |grep iptables
Iptables-ipv6-1.4.7-16.el6.x86_64
Iptables-1.4.7-16.el6.x86_64
[Email protected] ~]#
#查询软件包里面的内容
-l List
[Email protected] ~]# rpm-ql tree
/usr/bin/tree
/usr/share/doc/tree-1.5.3
/usr/share/doc/tree-1.5.3/license
/usr/share/doc/tree-1.5.3/readme
/usr/share/man/man1/tree.1.gz
[email protected] ~]# which tree
/usr/bin/tree
5. Common tools used in Linux (yum installed)
Tree Lrzsz nmap NC Dos2unix
Exercises:
Three ways to talk about Linux installation software
Linux Basic Learning -6.6-linux 3 ways to install software inside