- rpm -ql 包名 #一个rpm包中的文件安装到那里去了?
- rpm -e --nodeps 包名 #强制卸载
- rpm -ivh 包名 #安装
- rpm -qa|grep openssl 查看安装的软件版本
- rpm -ql rpm-file-version //查看安装文件
- yum search strace
As far as installing a particular version? You can append the version info to the name of the package like so:
$ sudo yum install <package name>-<version info>
If you're ever unsure that you're constructing the arguments right you can consult with
repoquery
too. $ sudo yum install yum-utils # (to get `repoquery`) $ repoquery --show-duplicates httpd-2.4* httpd-0:2.4.6-6.fc20.x86_64 httpd-0:2.4.10-1.fc20.x86_64
rpm 命令整理
最新推荐文章于 2023-04-07 11:51:08 发布