Installing rpms with OpenSUSE?

For system help, all hardware / software topics NOTE: use Coders Corner for all coders topics.

Moderators: Krom, Grendel

Post Reply
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Installing rpms with OpenSUSE?

Post by Diedel »

How do I install rpms with openSUSE 10?

When i double click them after download, i am offered to install them with YaST or use them as source with YaST. If I click \"install\", YaST opens, but doesn't offer me the package. If I chose \"source\", nothing happens either.

Hmmm ... Linux ... :roll:
User avatar
DCrazy
DBB Alumni
DBB Alumni
Posts: 8826
Joined: Wed Mar 15, 2000 3:01 am
Location: Seattle

Post by DCrazy »

You do have rpm installed right? Easiest way is to do it from a shell: rpm -i package.rpm

If that gives you an error about finding `rpm`, then you know that you don't have it installed. :P
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

I didn't even know there was an rpm program. I thought .rpm triggered some installation routine built into Linux, and as double clicking the RPM launched a program asking whether I wanted to YaST to install the package, there must obviously be some app that can deal with rpms.
User avatar
fliptw
DBB DemiGod
DBB DemiGod
Posts: 6459
Joined: Sat Oct 24, 1998 2:01 am
Location: Calgary Alberta Canada

Post by fliptw »

http://susefaq.sourceforge.net/howto/rpm.html

rpm, tho its part of the LSD, is easily the least capable of the package systems availible.
User avatar
DCrazy
DBB Alumni
DBB Alumni
Posts: 8826
Joined: Wed Mar 15, 2000 3:01 am
Location: Seattle

Post by DCrazy »

The Linux kernel knows jack about filenames and/or extensions.

Actually I think your comment highlights the exact problem with *nix: nothing is coherent, and while Windows and MacOS are content to present things as such, *nuxen are adamant about maintaining any distinctions on the programming side right up through to the user interface, in the name of \"factual accuracy\".
User avatar
fliptw
DBB DemiGod
DBB DemiGod
Posts: 6459
Joined: Sat Oct 24, 1998 2:01 am
Location: Calgary Alberta Canada

Re:

Post by fliptw »

DCrazy wrote:The Linux kernel knows jack about filenames and/or extensions.
thats true of all operating systems, I think he refereing to what desktop shell he's using.
fyrephlie
DBB Benefactor
DBB Benefactor
Posts: 956
Joined: Tue Nov 15, 2005 12:49 am

Post by fyrephlie »

Install with YaST works great for me... (openSUSE 10.0), it just installs it and then updates and poof done.

If that isn't working, lemme ask this, are you using KDE or Gnome?

KDE has Kpackage built in that works really well for installing rpms
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

I am using Gnome, and I think I know jack about Linux. :roll:

I tried to install SDL_mixer using the rpm too, and there never appeared a libSDL_mixer.a in /usr/lib.

Something doesn't seem to work here.

Installing something on Linux is such a PITA. I just wanted to get a GUI debugger frontend (DDD), and it says \"oh you need this package, and to run it, you need that package, which will in turn require the other package\".

If at all, I had to install one additional software to make something run on MS Windows, and usually everything comes packed together. Unless it is some Linux software someone has ported to Windows, that is. Heh.

Not that I would want to rant about Linux (again), but I still have neither a working KDevelop nor a GUI debugger frontend, after trying to get this to install for hours. On Windows, the time such a thing would take would have to be measured in minutes, leaving me enough time for the real thing: Getting into the software.
fyrephlie
DBB Benefactor
DBB Benefactor
Posts: 956
Joined: Tue Nov 15, 2005 12:49 am

Post by fyrephlie »

I just don't get why you are having so much trouble, cause I don't :(

Unfortunately I am just not *nix savvy enough to help...

I have gotten a lot of help from linuxforums.org in the past, have you tried there? You get the occasional eye rolling from 'em if you ask something (they consider) stupid, but they will usually at least tell you what's what.

:)
Cuda68-2
DBB Ace
DBB Ace
Posts: 320
Joined: Fri Sep 20, 2002 2:01 am
Location: St. Paul Minnesota
Contact:

Post by Cuda68-2 »

My guess is either the RPM is corrupt or the RPM manager is not installed. You can check in the add/remove programs for the manager. You can also run a check sum on the RPM itself to check for file integrity.
You would install it as a source if the extension format was \"name.src.rpm\" if the name format is \"name.rpm\" then it is not a source install.
User avatar
Diedel
D2X Master
D2X Master
Posts: 5278
Joined: Thu Nov 05, 1998 12:01 pm
Contact:

Post by Diedel »

If I try to launch 'rpm' from a terminal window, a program responds, throwing up two screens worth of options.

I think Linux hates me. :roll: This is about to be getting mutual. :mrgreen:
User avatar
DCrazy
DBB Alumni
DBB Alumni
Posts: 8826
Joined: Wed Mar 15, 2000 3:01 am
Location: Seattle

Post by DCrazy »

Yeah, and I'm pretty sure piping it through less doesn't work without redirected stderr to stdout (`rpm 2>&1 |less` in bash). Best off doing a `man rpm` anyway, the help screen just lists off options without much other information.
Post Reply