rpm ?
Trying my best to learn about rpm (s), and am installing games using rpm -- to gain experience working with rpm(s).
Here's my snag: The game Maelstrom depends upon libSDL-1.2.so.6. I know that the file is on one of the three Red Hat 9 cds because Maelstrom has worked before (on previous installs from the same cd set). I've tried "find /mnt/cdrom -iname libSDL-1.2.so.6" on all three cds. No luck. I figure that the file is buried in one of the rpm packages. Is there a way to query the packages and determine what files they will install? Put another way; how can I discover which rpm on the cd(s) will install the libSDL-1.2.so.6 file? |
You need to install the SDL packages. Do you have a broadband connection? If so you can use YUM to install packages and check for dependencies.
|
Thanks Much,
That's not quite what I was looking for however. I could work through Red Hat add/remove packages and allow it automatically install Maestrom and it's dependents from the cds. I'm trying to learn more about using rpm(s). Specifically if there is a query command that searches uninstalled packages to determine what files they contain. I'm looking for a command similar to rpm -qf which queries an installed file and then returns information aboutn the package it came from. I'm trying to query an installation cd in order to find which package contains the needed files. If SDL had not been so prominate in the name of libSDL-1.2.so.6 file, how would you have known that I needed the SDL packages? Thanks again. |
Code:
rpm -q --whatprovides libSDL-1.2.so.6 Code:
yum whatprovides libSDL-1.2.so.6 |
Quote:
:Pengy: K |
mandrake has a similar tool called urpmi.
you'll find virtually every distro has a tool like this...and that usually they have their own unique tools. Sometimes they get ported to other distros, sometimes there are additional 3rd party ones, but there is always some app for this purpose. |
For mandriva, urpmi does the job as mentioned above. It has more features than yum in my personal opinion. You can find a guide at zebulon.org.uk and instructions at easyurpmi.
|
All times are GMT -5. The time now is 03:23 AM. |