In Linux system operation, common software package management systems include RPM and YUM. They can be used to manage Linux systems. Today, Xiaobian is going to introduce you to the CentOS system. The management of the RPM package, interested friends can come to understand.
In Linux distributions, almost every distribution has its own package management system. Common are the dpkg of the deb package and its front-end apt (for debian, Ubuntu, etc.). Rpm and its front end yum (for RedHat series systems).
RPM, the full name RPM Package Manager, is a package management system from Red Hat that is now widely available in various distributions.
The RRM package is a package file that is compiled and packaged by the program source code. The package contains the software binary, configuration files, help manuals, library files, and header files. RPM package structure shown below:
RPM package installation and uninstallation:
# rpm [options] /path /to /rpmfile
option :
-i|
--install: install the specified software
-v|
--verbose: shows the installation process
-e|
--erase: Uninstall the specified software
-h|
--hash: Display the progress bar in #, one #2%
--nodeps: ignore dependencies
--test: test install
- U: Upgrade + installation (if you have previously installed, upgrade, if not installed before)
-F: Upgrade (if you have previously installed, upgrade, if you have not installed before, do nothing)
--replacepkgs: Reinstall the package
--force: During the installation or upgrade of the package, if a file has been installed or a certain software has been installed
You can use the --force option to force installation, equivalent to --replacepkgs --replacefiles --oldpackage use
Common package installation options are:
#rpm -ivh /path /to /rpmfile
# rpm -Uvh /path /to /rpmfile
example 1:
RPM package verification:
RPM The package uses the gpg asymmetric encryption mechanism to verify the integrity of the package and the legitimacy of the source.
# rpm --import PUBKEY: rpm uses --import to import the public key created by the package provider, which can automatically verify the package.
#rpm {-K|
--checksig} [--nosignature] [--nodigest] PACKAGE_FILE: rpm can use -K or --checksig option to verify the source and integrity of the package, --nosignature option means no source legality verification, --nodigest option means no integrity verification
Example 2:
Previous123Next page Total 3 pages
The Ubuntu source command is used to make the configuration information set in the
Krita is a bit of graphics editing software, including a painting program and photo editor, can hand
Through the history command under Linux, we can view the used commands, that is, th
Every user who has certain mastery of Linux system must start to learn some common commands of Linux
What is the command to specify the line in the Linux view file?
How to use rsa password-free login in Linux
RHEL6 changes the name of the asm disk by udev.
Using cgroups to manage Linux disk io method
Linux installation of Nodejs three methods
Ubuntu14.04 does not support U disk exfat format how to do?
How to install and configure Zsh
Linux uses commands to clean large files. Steps
Linux uses rm to delete the database file how to recover?
Play around windows7 absolutely can not close the top 10 services (2)
Tencent qq computer housekeeper how to detect and download and install win10?
A picture lets you see the design shift of Microsoft from Win8 to Win10
How to deal with the driver exception after Win10 system update?
How to set SATA hard disk AHCI mode after Win10 system installation?
How to set up win7 system to disable wireless network card?
Watch the video appearing explorer.exe encountered problems need to close
Sharing Microsoft Windows7 system firewall using full Raiders skills
Rename the C drive in the win8 computer but it says "Can't change the name" What should I do?