LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   using yum to install rpms - how? (https://www.linuxquestions.org/questions/linux-software-2/using-yum-to-install-rpms-how-182413/)

dingo_aus 05-17-2004 08:06 AM

using yum to install rpms - how?
 
I'm having trouble running GtkRadiant1.4

I ran the "run" installer for it and it tells me:

./radiant.x86: error while loading shared libraries: libgtkglext-x11-1.0.so.0: cannot open shared object file: No such file or directory

so I go and download the needed rpm and try

rpm -ivh libgtkglext-x11-1.0_0-1.0.6-1.i686.rpm

and it gives me:

warning: libgtkglext-x11-1.0_0-1.0.6-1.i686.rpm: V3 DSA signature: NOKEY, key ID 4e98ab9a
error: Failed dependencies:
libGL.so.1(LIBGL) is needed by libgtkglext-x11-1.0_0-1.0.6-1


Then I try to use yum with:

yum install libgtkglext-x11-1.0_0-1.0.6-1.i686.rpm

and it goes through heaps of rpms and then tells me:

Cannot find a package matching libgtkglext-x11-1.0_0-1.0.6-1.i686.rpm
No actions to take

How do I get yum to see my rpm OR how do I get rpm to see libGL.so.1 ?

BTW I'm running RH9

ElPuello 05-17-2004 09:11 AM

try to type "yum install gtkglext-devel" or find the gtkglext-devel package in rom somewhere outthere. something with lib in front of it is usually in the -devel package.

Remember, when using yum, never put in version names (libgtkglext-x11-1.0_0-1.0.6-1.i686.rpm ). For instance, if you wanted gtk, you should just type yum install gtk not yum install gtk-2.6.i386.rpm or whatever.

Hope this clears up some issues.

dingo_aus 05-17-2004 05:59 PM

How do you know which name to type?

ie How do I know what to point yum at?

ElPuello 05-18-2004 04:58 AM

You can type "yum list" to see all availble packages. (If you are using the terminals, and can't scroll, write "yum list > names.txt" this will write the list into a text file you can view with an editor)

Then, to get info on a specific package, type "yum info <packagename>" and presto! You get all the info you need, to consider whether this is the package for you.

Which yum repos and and distrubution are you using? Sometimes, there are better repos out there than the ones preinstalled....

hmse 06-16-2004 03:21 PM

Where did you find the rpms?

ElPuello 06-16-2004 05:25 PM

Try freshrpms.net its great for the newest stuff. But you guys should really get rid of any RPM based dist, it really is annoying when you get in to a never-ending game of finding and installing depandancies. Try out debian, which is great or gentoo if you are brave!

Regards

hmse 06-16-2004 08:10 PM

I've used both debian and gentoo, and I like both, but why are RPMs annoying?

ElPuello 06-17-2004 05:29 PM

I've used YellowDog linux which is a ppc dist. It great really, the only problem is that the repos are very outdated, so most of the time you are stuck with finding the rpm's on the net and installing them. Here, the dependancy problems start emerging - I'm sure you've tried installing an RPM package in the command line and got the message "dependancy needed: somepackage.rpm". then, when you install somepackage.rpm, it needs a dependancy and so forth and so forth - personally, i've spend hours finding and installing dependancies.... The main problem is that you can't just install an independant package, and try to make apt or whatever try and resolve the dependancies - you can only do this if you install files from a repo.
It hope this clarifies my previous post.

Regards

hmse 06-18-2004 11:30 AM

I can't say that I've run into that problem, but yea, I see where going.
Thanks :)

dingo_aus 07-01-2004 08:50 PM

Yeah I got it fixed under RH9 but then I reformated to Fedora Core 2 :)

Thanks for the responses - they got me through the problem.

I now understand how yum works and isn't it excellent? It is so good once you find a good repository or two.

Btw it is also possible to have problems with some yum / rpm when a piece of software is compiled against a specific version of a file. In this case I'm trying to fix it by creating a symbolic link from the one it was expecting to the current version.

Hasn't worked yet but hopefully it will


All times are GMT -5. The time now is 12:31 PM.