Several software installation methods under CentOS

Source: Internet
Author: User

1. RPM Package

Installation:

RPM-IVH soft.version.rpm

Update:

RPM-UVH soft.version.rpm

Unloading:

1) Find the package you want to uninstall Rpm-qa | grep XXX

2) For example, find software mysql-4.1.22-2.el4_8.4, execute RPM-E mysql-4.1.22-2.el4_8.4

Install directory for query software: RPM-QL mysql-4.1.22-2.el4_8.4


2. Install package at end of. bin

Installation:

chmod +x ******.bin

./******.bin or directly perform sh ******.bin

Unloading:

Remove the installation directory that you selected during installation to OK


3. tar.gz (BZ or BZ2, etc.) end of the source code package

Installation:

TAR-ZXVF ****.tar.gz

TAR-JXVF ****.tar.bz (or bz2)

./configure (some compression packages have been compiled, this step can be omitted)

Make

Make install

If there is no configure file, directly Make;make install on the line;


Unloading:

Install directory execution make uninstall, if not supported, directly delete the files produced by the installation


4. Yum

Installation:

Yum install-y software Name

Update:

Yum update-y software Name

Unloading:

Yum remove-y software Name

Or

Yum erase-y software Name



This article is from the "Inner Peace, Fire Rebirth" blog, please be sure to keep this source http://itisforyou.blog.51cto.com/9778869/1597944

Several software installation methods under CentOS

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.