February 20th, 2002, 03:43 PM
The contents of rpm files could be stored anywhere, depending on where the creator of the rpm package intended the files to be stored. I've seen them put files in /etc, /sbin, /bin, /usr/share, /usr/lib etc. To determine where rpm put the files for a specific package, you could type:
rpm -qil <package name>
Option 'q' queries for the package, option 'i' lists some information about the package, 'l' lists the files installed by the package and their locations . If you use only the 'q' option, then only the package name will be listed. You can use this to figure out where the rpm package put the files.
If you don't know the exact package name or want to view all the packages you could use:
If you want to remove an RPM package, you could use:
rpm -e <package name>
You can type rpm --help to view all the options.
Last edited by Scorpions4ever : February 20th, 2002 at 03:50 PM.