What tool is linux RPM?

青灯夜游
Release: 2023-02-07 14:08:03
Original
2835 people have browsed it

In Linux, RPM refers to the RedHat package management tool. It is a packaging and installation tool for Internet download packages. It is included in some Linux distributions and it will generate ".RPM" "file extension. The naming of RPM binary packages must comply with unified naming rules. Users can directly obtain the version, applicable platform and other information of such packages through the name. The format is "package name-version number-number of releases-publisher-Linux platform-suitable hardware" platform-package-extension".

What tool is linux RPM?

#The operating environment of this tutorial: centos8 system, Dell G3 computer.

What is RPM

RPM is the abbreviation of RedHat Package Manager (RedHat software package management tool). Although the name of this file format is The logo of RedHat, but its original design concept is open, and it is now adopted by Linux distributions including RedHat, CentOS, SUSE and so on.

RPM can be regarded as a recognized industry standard. RPM files are the easiest to install on Linux systems.

Note: RPM is a packaging and installation tool for Internet download packages, which is included in some Linux distributions. It generates files with .RPM extension. Similar to Dpkg.

Uniform naming rules for RPM naming

The naming of RPM binary packages must comply with unified naming rules. Users can directly obtain this type of files by name. Package version, applicable platform and other information.

Naming format

包名-版本号-发布次数-发行商-Linux平台-适合的硬件平台-包扩展名
Copy after login

For example, we have an RPM software package, httpd-2.2.15-15.el6.centos.1.i686.rpm, specifically The parameters are explained as follows:

Parameter Description
httpd Software package name. It should be noted here that httped is the package name, and httpd-2.2.15-15.el6.centos.1.i686.rpm is usually called the full name of the package. The package name and the full name of the package are different. In some Linux commands, Some commands (such as package installation and upgrade) use the full name of the package, while some commands (package query and uninstallation) use the package name. You may make a mistake accidentally.
2.2.15 The version number of the package. The version number is usually in the format of major version number.minor version number.revision number.
15 The number of times the binary package has been released, indicating how many times this RPM package was generated by programming.
el* Software publisher, el6 indicates that this package is released by Red Hat, suitable for RHEL 6.x (Red Hat Enterprise Unux) and CentOS 6 Used on .x.
centos indicates that this package is suitable for CentOS systems.
i686 indicates the hardware platform used by this package. The platforms supported by the current RPM package are as follows.
rpm The extension of the RPM package indicates that this is a compiled binary package that can be installed directly using the rpm command. In addition, there are RPM packages with src.rpm as the extension, which indicate that they are source code packages. They need to be installed to generate source code, then compiled and generated into rpm format packages, and finally installed using the rpm command.

RPM package hardware platform

Platform name Applicable platforms Information
i386 386 or above computers can be installed.
i586 686 or above computers can be installed.
i686 It can be installed on computers with Pentium II or above. Currently, all CPUs are Pentium II or above, so this software version is common.
x86_64 64-bit CPUs can be installed.
noarch No hardware limitations.

Related recommendations: "Linux Video Tutorial"

The above is the detailed content of What tool is linux RPM?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!