Find Installed Location of RPM Package in Unix
Using rpm -qa | grep -i <pkgname> gives if a package is installed or not.
But, I would like to find out where a package is already installed i.e the location where a particular package is installed say /opt/<pkg> Please help me on this...! Many thanks in advance... |
To list the files in a package:
Code:
rpm -ql <pkgname> |
Welcome to LinuxQuestions!
The question should be: where a package installed stuff. The default locations are /usr/bin for binary executables, /usr/lib for shared objects on a 32-bit OS, /usr/lib64 on a 64-bit OS, /usr/share/doc for documentation files and so on. You can find out using Code:
rpm -ql <package> |
All times are GMT -5. The time now is 07:22 AM. |