RPM Package Management/yum Software Management

Source: Internet
Author: User

The vast number of open source software is published sources, the source code is generally packaged as tar.gz archive compressed files, and then manually compiled into binary executable files

./configure Check compilation environment/related library files/configuration parameters, generate makefile

Make to compile the source code, build the executable file

Make install installs the resulting executable file to the current computer

Characteristics

Good compatibility/good control/open source software will use a lot of other open source software functions, to solve a large number of dependencies

RPM (Redhat Package Manager) has been developed to solve problems such as long compilation times and errors

naming conventions; linuxcast-1.2.0-20.e16.i686.rpm

Name version operating system name (cross-platform) 32-bit or 64-bit

Basic command;

Rpm-i software.rpm Install

RPM-E Software Uninstall

Rpm-u softwarenew.rpm Update

RPM-IVH http;,,,. rpm download and install

-V Show More information

-H Show progress bar

Install software to Administrator privileges

RPM query;

RPM-QA Lists all RPM software installed in the operating system

Rpm-qi linucast Query The basic information of a software information

RPM QL Linux lists all files belonging to this software list

RPM-QF Linux See which rpm package the file is in.

When the above is installed

The following is a query that is not installed

RPM-QIP query rpm File information-QLP query contains files

  

RPM verification function;

In the process of software transmission, it is possible to be maliciously modified, using asymmetric encryption algorithm, so a password is required

Rpm-k xxx.rpm Whether the package has been modified

Rpm-v XXX installed files are modified (well after the file)

Yum Yellowdog Updater Modified is a special management R P m, is the front end of the RPM program (RPM is a way to package the package, the binary files released)

Role 1. Automatic resolution of dependencies 2. Grouping rpm, developing classes and the like, installing the entire set of software at once (group-based installation) 3. Importing warehouses to resolve Dependencies 4. Simple configuration

Repo Warehouse, Yum manages all RPM packages, for example, in a folder, if there is a dependency, will be automatically found in the warehouse, if not, cannot be installed, if there is, can be used, and automatically resolve the dependency

There are two kinds of 1 are local 2 is the network warehouse, the use of centralized unified warehouse via HTTP FTP NFS (personal, general use of network Warehouse)

RPM Package Management/yum Software Management

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.