如何查找yum方式安装的软件安装到哪个目录了?

已邀请:

zkbhj - 凯冰科技站长

赞同来自:

1、首先安装一个msgpack;
# yum install msgpack
2、查找msgpack的安装包;
[root@zkbhj local]# rpm -qa|grep msgpack
msgpack-0.5.7-5.el6.x86_64
3、查找安装包的安装路径;
[root@zkbhj local]# rpm -ql msgpack-0.5.7-5.el6.x86_64
/usr/lib64/libmsgpack.so.3
/usr/lib64/libmsgpack.so.3.0.0
/usr/lib64/libmsgpackc.so.2
/usr/lib64/libmsgpackc.so.2.0.0
/usr/share/doc/msgpack-0.5.7
/usr/share/doc/msgpack-0.5.7/AUTHORS
/usr/share/doc/msgpack-0.5.7/COPYING
/usr/share/doc/msgpack-0.5.7/ChangeLog
/usr/share/doc/msgpack-0.5.7/LICENSE
/usr/share/doc/msgpack-0.5.7/NOTICE
/usr/share/doc/msgpack-0.5.7/README
/usr/share/doc/msgpack-0.5.7/README.md

OK,找到了!

要回复问题请先登录注册