当前位置:网站首页>RPM package installation command
RPM package installation command
2022-06-25 19:13:00 【kankan231】
One 、 What is? RPM
RPM yes Red Hat The software management mechanism developed by the company , It is a way to install the software you need to... In the way of database records linux A set of management mechanism of the system .
Two 、RPM Characteristics
RPM The biggest feature is that the software to be installed has been compiled , And has been packaged into RPM Mechanism file format , Through the default database records inside , Record the dependent software required for the software installation .
When installed to linux When the main engine ,RPM First, I will query according to the data in the software linux Whether the dependent software of the host meets , Install if satisfied . At the same time, the software information is written into RPM The database of (/var/lib/rpm), For future queries 、 Upgrade and uninstall .
RPM advantage :
1、 The software has been compiled and packaged , So it's easy to transmit and install , Free users from compiling
2、 Before installation , Will check the disk of the system first 、 Operating system version, etc , Avoid incorrect installation
2、 Information about the software has been recorded in linux On the host's database , Convenient query 、 Upgrade and uninstall
RPM shortcoming :
1、 The environment in which the software package is installed must be consistent with or equivalent to the environment at the time of packaging
2、 Must have installed the dependent software of the software
3、 When uninstalling , The lowest level software cannot be removed first , Otherwise, the whole system may not work
3、 ... and 、RPM Management procedure :rpm
1、RPM Package naming format
Software name - Version number - Number of releases - fit linux System . Hardware platform .rpm
for example : apache-2.4.10-18.mga6.i586.rpm
Be careful :
Full name :rpm Operate on packages that are not installed , The package uses the full package name
package name :rpm Operating the installed software , The software package uses the package name
2、RPM The default path to install the software
/etc Configuration file placement Directory
/usr/bin Some executable files
/usr/lib Some programs use dynamic link libraries
/usr/share/doc Some basic software manuals and instructions
/usr/share/man some man page archives
3、rpm Use
a、 Software installation and upgrade
rpm -ivh Full name ( Absolute path , Generally, it is in the software package directory of the CD )
-i | –install install
-v Show details
-h Show progress
rpm -Uvh Full name Download the high-level software package in advance
-U | –upgrade upgrade
b、 uninstall
rpm -e Package name If the dependency uninstall fails
–nodeps Don't check dependencies , Forced unloading
c、 Inquire about
rpm -q Package name Check if the package is installed
rpm -qa Show all installed packages
rpm -qi Package name Query the installed package information -i information
rpm -qip Full name Query the information that there is no package installed
rpm -ql Package name Query the installation location of files in the package -l list
rpm -qlp Full name Query packages that are not installed , Intended installation location
rpm -qf System filename Which package does the query file belong to
边栏推荐
- GenICam GenTL 标准 ver1.5(1)
- Analysis on the market scale and pattern of contrast agents in China in 2021: Jiangsu Hengrui pharmaceutical, general electric, Yangzijiang Pharmaceutical Group, Bayer and bleco account for more than
- LeetCode-101-对称二叉树
- In 2021, China's private equity market is growing, and the scale of private equity fund management reaches 19.78 trillion yuan [figure]
- TCP/IP 测试题(一)
- 最新數據挖掘賽事方案梳理!
- 请问通达信开户安全吗?
- Network security detection and prevention exercises (III)
- Laravel validation rule followed Role of auth:: id()
- Leetcode-101-symmetric binary tree
猜你喜欢

Guangzhou Sinovel interactive creates VR Exhibition Hall panoramic online virtual exhibition hall
![In 2021, China's private equity market is growing, and the scale of private equity fund management reaches 19.78 trillion yuan [figure]](/img/e9/ffc5303cb6f0f8e05e93b3342a49b2.jpg)
In 2021, China's private equity market is growing, and the scale of private equity fund management reaches 19.78 trillion yuan [figure]

Ali vision AI training camp-day01

LeetCode-101-对称二叉树

What should I pay attention to in GoogleSEO content station optimization?

Gbpnzd firm offer for 14 months, simulation for 19 months, test stable

Combing the latest Data Mining Event Scheme!

JVM|运行时数据区(堆空间)

Web development solution to cross domain problems

Miner's Diary: why should I go mining on April 5, 2021
随机推荐
QQ机器人疫情查询/疫情关注等【最新beta2版本】
MySQL prompt performance_ Schema missing table
Guangzhou Sinovel interactive VR panorama brings development to all walks of life
QQ机器人官方插件加载配置方法【beta2版本】
Oriental Wealth function (the most complete edition of Childe Yong)
shell-跳出循环-shift参数左移-函数的使用
mysql事务讲解
Kotlin compose terminate todo project Click to edit and modify todo
LeetCode-78-子集
R language uses the model of DALEX package_ The profile function interprets the relationship between a continuous feature and the target value Y in multiple classification models based on the conditio
JS get data
最新數據挖掘賽事方案梳理!
GenICam GenTL 标准 ver1.5(1)
6、 Configuration resolution of hikariconfig
Laravel validation rule followed Role of auth:: id()
5、 Initialization analysis II of hikaricp source code analysis
一、HikariCP获取连接流程源码分析一
2021 development status of China's cloud game industry and analysis of major service providers: Although cloud games are still in their infancy, the market prospect is huge [figure]
Tiger Dao VC products are officially launched, a powerful supplement to seektiger ecology
Ali visual AI training camp -day03- construction of electronic photo album (face and expression recognition)