Linux Basic Learning -6.6-linux 3 ways to install software inside

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.