I. Similarities
Both rpm and yum commands are package managers, which are tools for packaging and installing Internet download packages. Their operating systems are all Fedora? Linux operating system.
Second, differences.
1, different installers
It is the easiest to install RPM files in Linux system. Take the famous image processing software XV as an example, and its RPM package XV-3.10a-13.i386.rpm can be downloaded from the home page of the program. If the networking speed is fast enough, you can install the application software directly from the network, just add the appropriate URL path before the file name of the software. As a software package management tool, RPM manages the data of all installed RPM program components in the system, so you can use RPM to uninstall related applications.
Software packages available for Yum download include Fedora itself and Fedora Extras from rpmfusion and rpm. All of them are maintained by the Linux community and are basically free software. All packages have independent PGP signatures, mainly for the user's system security. For users of Fedora core 4.0, the signature of rpm. Will be automatically imported and installed.
They have different advantages.
Yum is the front-end program of rpm, and its main purpose is to automatically solve the dependency of rpm. It can automatically resolve dependencies, or it can group RPMs and install them on a group basis. The concept of warehouse is introduced, which supports multiple warehouses and has simple configuration. ? Yum warehouse is used to store all existing. Rpm package. When you install an rpm package with yum, you need to rely on it, and you will automatically find the dependent software in the warehouse and install it. The warehouse can be local or a unified network warehouse in the form of HTTP, FTP and nfs.
RPM is a software package manager introduced by Red Hat Company with Redhat Linux, through which software installation can be realized more easily. RPM simplifies the installation and management of open source software by compiling code into executable files based on a specific platform system and saving dependencies. Set different installation packages for different systems. And its component query function and verification function are excellent.
3. The hardware descriptions are different.
RPM is a special hardware engine for Qualcomm, which is used to manage the related resources of SoC (system on a chip) enjoyed by * *, including bus, clock, power rail, etc. The goal of RPM is to meet the operation and performance requirements of SoC, while achieving maximum power saving. RPM accepts resource requests from multiple RPM hosts. Arbitrate and aggregate requests and allocate resources. The main controller of RPM includes application processor, modem processor and some hardware accelerators.
RPM contains internal logic to aggregate and arbitrate requests from different RPM hosts. It has interfaces with PMIC, bus arbitration module and clock control module to configure * * * shared resources.
Yum is the Shell front-end package manager in Fedora, RedHat and CentOS. Based on RPM package management, you can automatically download and install RPM packages from designated servers, automatically handle dependencies, and install all dependent software packages at one time, without the cumbersome downloading and installation.
Extended data
Composition and classification of software packages
I. Composition
It can be divided into application software package and system software package. Application software packages are related to specific application fields and can be divided into general packages and special packages. General software packages are developed according to some common needs of society, while special software packages are customized by manufacturers according to the specific needs of users and can be modified or changed according to their own special needs.
A software package can be in the form of source code or object code. Documents such as user manuals and guides are important parts of the software package. In addition, the maintenance and technical support of the software package is also very necessary.
Software package in system management, the management of software package is the most important and the basis of system management; Only by learning the management of software packages can we talk about other applications. Managing software packages requires understanding the document format, updating software packages, querying related documents, and being familiar with several commonly used software package management tools, such as system-cofig-packages, yum, ppapt, etc.
Second, classification
It is divided into Linux, BSD system and Windows system.
In Linux and BSD systems, software packages mainly appear in two forms: binary packages and source code packages. The main binary package formats are rpm, deb and Autopackage. The source code package is mainly suitable for the installation of free software, and users need to compile it themselves. For Windows system, in Windows, most software packages are in the form of installation programs, which can be installed in the specified directory, or directly packaged with compression tools, decompressed and run.
Baidu encyclopedia -RPM (RPM package manager)
Baidu Encyclopedia-Yum