LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rpm ? (https://www.linuxquestions.org/questions/linux-newbie-8/rpm-338774/)

hpladd 06-30-2005 12:29 PM

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?

reddazz 06-30-2005 12:36 PM

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.

hpladd 06-30-2005 01:30 PM

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.

reddazz 06-30-2005 03:21 PM

Code:

rpm -q --whatprovides libSDL-1.2.so.6
Code:

yum whatprovides libSDL-1.2.so.6
You can find out more at rpm.org. The reason why I mentioned yum is that it is the tool used for installing packages on Fedora and its derivatives, with automatic dependency resolution. System-config-packages is an almost useless app, because when you upgrade the packages installed on your system, it does not recognise this and causes all sorts of problems.

kriidler 07-02-2005 08:26 PM

Quote:

Originally posted by reddazz
Code:

rpm -q --whatprovides libSDL-1.2.so.6
Code:

yum whatprovides libSDL-1.2.so.6
You can find out more at rpm.org. The reason why I mentioned yum is that it is the tool used for installing packages on Fedora and its derivatives, with automatic dependency resolution. System-config-packages is an almost useless app, because when you upgrade the packages installed on your system, it does not recognise this and causes all sorts of problems.

Tell me reddazz, do you know if YUM is available for Mandrake 10.0?
:Pengy:

K

OhMyAchingGut 07-03-2005 03:50 AM

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.

reddazz 07-11-2005 02:10 AM

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.