当前位置:网站首页>The difference between rpm and yum
The difference between rpm and yum
2022-07-21 04:10:00 【nineteen million nine hundred and twenty-one thousand one hundr】
One 、rpm and yum The difference between command installation software :
rpm Command and yum Commands can be used to install software .
rpm You can only install... That has been downloaded to the local machine rpm package ,yum It can be downloaded and installed online rpm package , Can update the system .
rpm Applicable to all environments , and yum To build a local yum Source can only be used !
yum It's an upper management tool ,rpm It's an underlying management tool .
yum If the command encounters dependency problems when installing software ,yum Will actively try to solve dependencies , If it can't be solved, it will be fed back to the user . and rpm Once the command encounters the problem of dependency, it will not solve the dependency , Instead, it feeds back directly to the user , Let users solve it by themselves .
yum Is in rpm A tool based on , The configured yum There are many functions after the source rpm The command is more powerful , More convenient .rpm You can query the configuration file generated after package installation , Query the contents of the uninstalled package , Query the script related to the software package . Generally, the query of software package , install , uninstall , And the software package to which the software belongs yum It's better to complete the relevant commands .
Reference link :
install RPM Package or source package _Ryota-- The blog of -CSDN Blog _rpm Source package
linux in yum And rpm difference _lxlmycsdnfree The blog of -CSDN Blog _yum and rpm
Two 、 frequently-used rpm The installation command is as follows :
rpm -i install
rpm -v Show the installation process
rpm -h hash Algorithm encryption
rpm -ivh name.rpm ## install ,-v Show the process ,-h Specify the encryption method as hash
rpm -q see
rpm -a all
rpm -p software package
rpm -qp Package name view
rpm -ql Check the installation file path of the software in the system
rpm -qlp Check the file path generated after the installation of the uninstalled software package
rpm -qf Find out which installation package this file belongs to according to a file
rpm -qc View the software configuration file
rpm -qd View the help file of the file
rpm --scripts View the script
rpm --nodeps Ignore dependencies when installing software
rpm --force Force software installation , Do not resolve dependencies
rpm -ivh name.rpm --nodeps --force Ignore dependencies and force installation
rpm -qp name.rpm --scripts
rpm -Kv name.rpm Detect whether the software package has been tampered
rpm -qi name View software information
rpm -qa Query the names of all software installed in the system
rpm -qa |grep name Check if the software is installed
rpm -ivh name.rpm --force Mandatory installation , But dependencies cannot be ignored , Even if you install this software, you can install it again
边栏推荐
- McCabe度量方法计算程序复杂度
- WordPress开启sitemap.xml,一段代码解决。
- Model thesis of radio, film and television program production
- pinctrl
- Yolo target detection identification box does not display text labels (solved)
- [Unity脚本优化] Unity magic methods
- 结合源码看《我所理解的cocos2dx-3.0》—— 概述
- 并发编程day01
- 回溯解决组合问题
- 解决tensoflow2.x的No module named:tensorflow.contrib
猜你喜欢
Mini simple version applet is delivered, which is exclusive to column users
【STM32F130RCT6】超声波测距模块思路和代码
XShell安装配置教程
Combined with the source code, see "cocos2dx-3.0 as I understand" - particle system
把项目发布网上,不想开端口
kettle优化之提高MySQL读写速度
网络安全学习(千锋网络安全笔记)2--IP与基本DOS命令
Chapter002 FPGA learning key control LED light and buzzer
Pytoch realizes handwritten digit recognition | MNIST data set (CNN convolutional neural network)
力扣总结之链表题目
随机推荐
XShell安装配置教程
"Dry goods experiment" Huawei DHCP + single arm routing experiment
WordPress 6.0.1 新版已经发布,建议全部更新。
Chapter006 LCD display of FPGA learning
Unity2D 自定义Scriptable Tiles的理解与使用(三)——开始着手构建一个基于Tile类的自定义tile(上)
解决‘_xsrf’ argument missing from POST问题
Sword finger offer special assault version day 3
聪明人的游戏提高篇:第三章第二课:因子个数(dcount)
rpm与yum的区别
学习笔记-浅谈MySql索引的数据结构与算法和索引的介绍
pycharm 突然无法连接远程服务器
02-线性结构4 Pop Sequence(入栈,出栈的模拟)
UGUI——Graphic
随机数(random头文件)
uni-app - App 平台内嵌网页物理手机自带返回键失效解决方案(内嵌的 webview 网页 H5 打包后手机物理返回键无效直接退出应用了)
聪明人的游戏提高篇:第三章第一课:grid(格子位置)
学习记录五
Yolo target detection identification box does not display text labels (solved)
JS构造链表
互联网巨头“赢家通吃”,会产生哪些严重后果?