qybei 发表于 2003-10-6 14:02:17

rpm能不能查找到程序的路径

使用rpm -q ** 可以查找系统里安装的程序,请问:rpm能不能查找到程序安装在什么地方?如果不能,可以使用什么方法找到程序安装的路径?
谢谢!

ritou 发表于 2003-10-6 14:28:22

Re: rpm能不能查找到程序的路径

使用rpm -q ** 可以查找系统里安装的程序,请问:rpm能不能查找到程序安装在什么地方?如果不能,可以使用什么方法找到程序安装的路径?
谢谢!
Try this:

1. use "rpm -qa" to check the package name of your program. E.g., "rpm -qa|grep -i firebird" to check the package name of Firebird.
2. use "rpm -q l Package name" to list all the files in this package.

You can locate the file easily.

Maybe there is some better way to do this. But usually it can work.

raullpq 发表于 2003-10-7 11:08:34

man rpm

bigmonk 发表于 2003-10-7 12:06:08

rpm -ql packages-name

qybei 发表于 2003-10-8 19:54:11

谢谢
页: [1]
查看完整版本: rpm能不能查找到程序的路径