欢迎投稿

今日深度:

查看yum 安装的软件路径,查看yum软件路径

查看yum 安装的软件路径,查看yum软件路径


1、首先安装一个redis

[root@iZbp1eem925ojwyx17ao9kZ ~]# yum install redis
  •  

2、查找redis的安装包

[root@iZbp1eem925ojwyx17ao9kZ ~]# rpm -qa|grep redis
redis-3.2.10-2.el7.x86_64
[root@iZbp1eem925ojwyx17ao9kZ ~]# 
  •  

3、查找安装包的安装路径

[root@iZbp1eem925ojwyx17ao9kZ ~]# rpm -ql redis-3.2.10-2.el7.x86_64
/etc/logrotate.d/redis
/etc/redis-sentinel.conf
/etc/redis.conf
/etc/systemd/system/redis-sentinel.service.d
/etc/systemd/system/redis-sentinel.service.d/limit.conf
/etc/systemd/system/redis.service.d
/etc/systemd/system/redis.service.d/limit.conf
/usr/bin/redis-benchmark
/usr/bin/redis-check-aof
/usr/bin/redis-check-rdb
/usr/bin/redis-cli
  •  

4、ok,现在就找到了!

参考文章:

https://blog.csdn.net/wd2014610/article/details/79659073

www.htsjk.Com true http://www.htsjk.com/redis/29535.html NewsArticle 查看yum 安装的软件路径,查看yum软件路径 1、首先安装一个redis [root@iZbp1eem925ojwyx17ao9kZ ~]# yum install redis   2、查找redis的安装包 [root@iZbp1eem925ojwyx17ao9kZ ~]# rpm -qa|grep redisredis-3.2.10-2.el7.x8...
相关文章
    暂无相关文章
评论暂时关闭