- --nodeps 忽略依赖
- --force 即使覆盖属于其他包的文件也强制安装
- --fresh upgrade packages if already installed 安装才升级,否则不升级
- rpm2cpio xxx.rpm | cpio -idmv 会在当前目录下解压rpm包
- rpm --badreloc --relocate=<old>=<new> 可强制将(not relocatable)的rpm包强制安装的指定目录
- rpm -q --last 查询某一包安装时间
![](https://img2020.cnblogs.com/blog/2018052/202006/2018052-20200617134254795-1798395499.png)
- rpm -q --provides list capabilities this packages provides
- rpm -q --requires list capabilites this packages depends
- rpm -q --state kmod
- rpm -q --whatprovides gcc
-
rpm -q --whatrequires gcc
-
rpm --showrc shows the values rpm will use for all of the options are currently set in rpmrc and macros configuration file(s).
- rpm --checksig *.rpm
posted @
2020-06-05 16:50
ascertain
阅读(
471)
评论()
编辑
收藏
举报