Reputation: 41
I have installed a rpm package using command "rpm -ivvh --prefix=/home/mypkg package_name ".After installing i need to find the prefix value .How i can do that?
Upvotes: 3
Views: 3039
Reputation: 136
a very stale thread, but I have an answer. I found it just by typing
# rpm --querytags
here's an example of the output:
# rpm -qa --queryformat '%{name}-%{version} %{instprefixes}\n' lgtoclnt
lgtoclnt-7.6.5 /usr
Upvotes: 2