Linux basic tutorial-three software installation methods

Source: Internet
Author: User

Linux basic tutorial-three software installation methods

Linux software installation methods include rpm installation, source code compilation, and yum installation.

 

1. rpm Installation Method

The rpm installation method is the same as that for windows. The essence of software installation: The process of copying the binary file corresponding to the software from the installation package to the specified location of the system.

 

Advantage: relatively simple installation

Not good: the software is not flexible.

 

2. source code compilation and Installation

The installation process is: manually compile the source code (compilation tool) of the software as the binary code, and then copy the binary code file to the specified system location.

Benefits: it is flexible and can be customized for each part of the software ".

Not good: software installation is cumbersome.

 

3. Install yum

This method is similar to the "one-click installation" of software Manager 360, which is convenient and quick.

> Yum mysql

Usage conditions: Set the Internet environment or software location

 

 

 

Related Operations:

Install the software using rpm:

 

? Rpm-ivh file name // install software

? Rpm-e Software name // uninstall software

? Rpm-q (complete) software name // check whether the software is installed (in rpm Mode)

? Rpm-qa // query all view all software installed in rpm Mode

? Rpm-qa | grep ftp // fuzzy search whether an ftp-related software is installed

? Service vsftpd (software name) service corresponding to start/stop/restart // operation software

? Ps-A | grep vsftpd // find whether the vsftpd service is started with the file name: Software name + software version + cpu model + suffix.

 

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.