Results 1 to 9 of 9
Hey, when I do rpm -iv whatever and it installs where does RedHat put the files? Is there a RPM directory that contains the actual executable binary?
thanks...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-23-2002 #1Linux User
- Join Date
- Nov 2002
- Posts
- 420
rpm's
Hey, when I do rpm -iv whatever and it installs where does RedHat put the files? Is there a RPM directory that contains the actual executable binary?
thanks
- 11-23-2002 #2Just Joined!
- Join Date
- May 2002
- Location
- Panama
- Posts
- 15
very well...
When you do an rpm -iv you are asking the system to install (-i) and to be verbose (-v) when installation begin when you press enter. if you are installing system files important for your system they will be placed in the /bin directory. if you are installing a development library then it will be placed in the /lib directory. if you want to find where your new files are installed use the following command:
find / -name 'file name*'
remember I wrote file name and an asterisk just as an example, when you do just type the name of the file you are looking for.
good hunting.
- 11-23-2002 #3Linux Enthusiast
- Join Date
- Jun 2002
- Location
- San Antonio
- Posts
- 621
ahh! Don't do that, that thrashes the hell out of your hard disk. You can tell what a rpm file installs with `rpm -ql packagename`. If you see a file, and what to know what installed it try `rpm -q --whatprovides filename`.
I respectfully decline the invitation to join your delusion.
- 11-24-2002 #4Just Joined!
- Join Date
- May 2002
- Location
- Panama
- Posts
- 15
Maybe I am doing a big mistake...
I thought that using the find command was not dangerous, is that what you mean? :o
I do it everytime in my system, whitout a problem, but if it causes a damage please let me know. what about if I use locate command?
thanks.
- 11-24-2002 #5Linux User
- Join Date
- Jul 2002
- Location
- Daytona Beach, FL
- Posts
- 487
no wassy just meant that it will take awhile because he is starting at / and searching everywhere for a file. By thrashing he did not mean damage to the hard drive, just making it work alot harder then needed.
rpm -ql <package_name> will list the files the package installed, that redat keeps this info in the rpm database - so it takes much less time.majorwoo
Quiet brain, or I\'ll stab you with a Q-tip.
- 11-24-2002 #6Just Joined!
- Join Date
- May 2002
- Location
- Panama
- Posts
- 15
ah......
Thanks guys, I forgot that command, since I have been working a lot with rpm those days, because I am compiling a program that has become a nightmare. I am installing whatever you could imagine. (I believe... I got the answer)
bye.
- 11-27-2002 #7Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
rpm -q --whatprovides filename is unnecessarily long, though. Just rpm -qf filename will do just as good.
- 11-29-2002 #8Linux Enthusiast
- Join Date
- Jun 2002
- Location
- San Antonio
- Posts
- 621
ahh shorthand, made for people that like to read 5 minutes of documentation to save 3 seconds on a command
I respectfully decline the invitation to join your delusion.
- 11-30-2002 #9Linux User
- Join Date
- Jul 2002
- Location
- Daytona Beach, FL
- Posts
- 487
I say wassy and dolda, 3:30pm at the flagpole! I'll ref!
majorwoo
Quiet brain, or I\'ll stab you with a Q-tip.


Reply With Quote
