Linux Software Installation

Source: Internet
Author: User

According to the MU Lesson Network tutorial Finishing

1. Package classification

    • SOURCE Package

A. Script installation (that is, to write the installation process, the execution of automatic script installation, is not an installation package classification, is an installation method)

Source Package Installation Features:

Open source, and be able to see the code. Ability to freely select functions.

Compile and install, more suitable for their own system, stable operation;

Easy to uninstall;

Disadvantages:

Long installation time, long compilation time;

More steps;

Error is more difficult to solve;

    • Binary package (RPM package, system default package)

Self-Understanding:

A. In fact, the equivalent of the EXE file under Windows, the source code is not visible at this time.

b.rpm meaning---rpm is all referred to as the Red Hat Package Manager, and is translated into the bundle manager. Other Linux distributions have also been adopted, becoming an industry standard.

Key features of RPM: Installing, uninstalling, upgrading, and managing software.

RPM Basic command:

RPM-IVH ***.rpm where I means installation, V for output, h for progress marking with #

RPM-UHV ***.rpm Upgrade Package

RPM-E Package_name Removing packages

Rpm-qa | Less lists all installed packages

can view http://www.php100.com/html/webkaifa/Linux/2010/0419/6458.html

RPM Benefits:

Simple management, through a few simple commands can be implemented to upgrade the package, install, uninstall.

Installation speed is faster than the source package, time is short.

RPM Disadvantages:

Cannot see the source code;

function selection is not as flexible as the source package;

have dependencies;

RPM source, we use the ISO has RPM package. The following is a mounted disc, which goes into the process of viewing in the package, and displays many RPM packages after the LS command is executed.

A command was used to find a file in the current directory during the process

2.RPM Package naming rules

From MU-Class network--

3. Dependencies

*.so.2 Library file dependencies, he is a file, if the RPM package depends on this, do not find the found, he is included in a RPM package, as long as the installation of the RPM, this dependency is also called module dependency.

How to know this file in which RPM package, this need to check the site, according to the site www.rpmfind.com find the Linux version, and then you can see in which file. If you don't have a net, you can only guess the RPM package based on his file name.

4.yum Online Management. (It is because this dependency of RPM packages makes the experience very poor, so Yum is produced, and is the online solution provided by Red Hat)

Understand: People in the remote set up a server, put all the installation package, we only need to execute a command, regardless of what the dependency, the server automatically help you solve.

Yum is actually an online installation of RPM packages.

However, Yum is a after-sales service that uses people's stuff to pay for it, so use CentOS for free.

5.RPM Installation

Package full Name and package name:

installation command:

--nodeps does not detect dependencies. This command is generally not used in practice, and does not detect dependencies even if the installation succeeds.

Linux Software Installation

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.