RPM(RedHat Package Manager),RedHat软件包管理工具。
rpm 查询
rpm -qa
#查询所有包(query all)rpm -qa |grep firefox
#firefox-102.15.0-1.el7.centos.x86_64rpm -qi | grep firefox
#(query information)
#Name : firefox
#Version : 102.15.0
#Release : 1.el7.centos
#Architecture: x86_64
#Install Date: Sun 15 Oct 2023 02:40:04 AM PDT
#...
rpm 卸载
rpm -e RPM软件包
rpm -e firefoxrpm -e --nodeps 软件包
rpm 安装
rpm -ivh RPM包全名
rpm -ivh firefox-45.0.1-1.el6.centos.x86_64.rpm