rpm 命令整理

  1. rpm -ql 包名 #一个rpm包中的文件安装到那里去了?
  2. rpm -e --nodeps 包名 #强制卸载
  3. rpm -ivh 包名 #安装
  4. rpm -qa|grep openssl 查看安装的软件版本
  5. rpm -ql rpm-file-version //查看安装文件
  6. yum search strace
  7. 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>
    
  8. 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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值