LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 10-02-2005, 12:05 AM   #1
sirius57
Member
 
Registered: Jun 2004
Distribution: Fedora core 1, puppy linux, suse 10.0, suse 10.1
Posts: 377

Rep: Reputation: 30
installing rpm files in suse linux


Can rpm packages (fedora) be installed in suse linux 9.3? I would like to use a prebuilt package for flightgear, but could not find any for suse.
 
Old 10-02-2005, 01:00 AM   #2
hypexr
Member
 
Registered: Oct 2003
Location: USA Fresno Callifornia
Distribution: Gentoo (workstation), ArchLinux (file/mail server), Freebsd (web server), Ubuntu (laptop)
Posts: 115

Rep: Reputation: 16
I've wondered this also

I have wondered this sort of thing my self. You should try it out and see what happens. I have installed RPMs on non RPM systems before but thats a different story. Make sure that you have all of the dependencies that the package needs and if it complains pass it to --nodeps option and see what happens.
 
Old 10-02-2005, 01:35 AM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: At home: Arch, OpenBSD, Solaris. At work: CentOS, Debian, Ubuntu
Posts: 3,625

Rep: Reputation: 101Reputation: 101
SuSE is RPM based anyhow, so as long as you have all the dependencies it should install just fine.
 
Old 10-02-2005, 03:51 AM   #4
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,198

Rep: Reputation: 76
if there are no specific suse rpm that sometimes come with a srpm extension the normal rpm use to work fine on suse. at least i didnt encounter difficulties yet...
 
Old 10-02-2005, 05:28 AM   #5
alfNtexas
Member
 
Registered: Sep 2005
Location: Houston, Tx
Distribution: debian, SuSe, Fedora
Posts: 32

Rep: Reputation: 15
Quote:
Originally posted by btmiller
SuSE is RPM based anyhow, so as long as you have all the dependencies it should install just fine.
NOT... RPM stands for 'Redhat Package Manager' and that is ALL it is, a Package Management System. There are plenty of non-redhat based distro's out there that have dediced to use RPM over the Debian or Gentoo or slackware or any other pkg mgmt system.

Whats relevant here is the code INSIDE the pacakage management container (ie *.rpm, *.deb, *.gz) file. It was compiled in a very specific linux environment... (kernel, libs etc)

I teach my class "The farther away from the tree... " theory..
The more distant a distro is from it's original source, the less likely applications from the original source will work ...
For example...
Redhat begot Mandrake
Mandrake begot Alt Linux
This tells me that Alt Linux and Mandrake share the same roots (redhat) and thus will stand a better chance of installing a APP-VERSION-RHL.RPM than APP-VERSION-xyz.RPM However, with Mandrake being the DIRECT descendant of RHL and Alt Linux the INDIRECT descendant, Mandrake would have the better chance of installing RHL rpms. I also point out that this is a good rule of thumb and not necessarily written in stone since once a branch occurs then it is on its own and can stray even FARTHER from the tree..

So, the decision tree for installing applications, REGARDLESS of what Pkg Manager they use, would be this...
1) From original vendor
2) See if there's an UNOFFICIAL version of this application for your distro lurking
around somewhere and consider using it..
3) If your distro is based on another one (like the redhat example above), see if you can
find the package for THAT distro and install it...
4) If all else fails.. Download the source, su to root, unpack into /usr/local/src/, cd into the
directory, actually READ all the README and INSTALL files... It is also a good idea to
./configure --help | less to see if there's anything the configuration process you can
change to better suit your system and needs.. One prime example is the default
install location ... this is usually /usr/local but that can almost always be
changed with a configuration switch.. ie: configure --prefix=/opt to install in the /opt dir..

Then --->

./configure (with or without any switches depending on your needs)
make
make install
Of course, just prior to pressing the enter key at each step, CROSS YOUR FINGERS..

Using a completely different distro's application is only logical if all else fails and the user is completely UNCOMFORTABLE with the install from source process... Then and ONLY then, and with lots of reservations, do I suggest using a completely different distro version of the application. If you do, and it works... Great.. but don't count on it just because it came in a pkg mgmt format your distro understands and uses..

As always, dependencies must be satisfied or none of the above will work.. LOL.
 
Old 10-02-2005, 09:07 PM   #6
sirius57
Member
 
Registered: Jun 2004
Distribution: Fedora core 1, puppy linux, suse 10.0, suse 10.1
Posts: 377

Original Poster
Rep: Reputation: 30
If I try the install and it does not work, can the package be uninstalled easily thru yast? (if someone has tried what I am attempting to do).
 
Old 10-02-2005, 09:25 PM   #7
alfNtexas
Member
 
Registered: Sep 2005
Location: Houston, Tx
Distribution: debian, SuSe, Fedora
Posts: 32

Rep: Reputation: 15
If yast can't do it, then if my memory serves me correctly, you can use rpm to uninstall it with...

rpm -e pkg_name

You might want to verify that with man rpm just to make sure..
 
Old 10-02-2005, 10:21 PM   #8
jschiwal
Moderator
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,263

Rep: Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562Reputation: 562
Try looking for your package at rpm.pbone.net

http://rpm.pbone.net/index.php3?stat...Gear&srodzaj=3

You could also locate the source (tarball, or .src.rpm) and install it that way, for packages that are not prepared for SuSE. The first step, running ./configure will analyze your system and hopefully pick up small differences.
 
Old 10-03-2005, 07:40 PM   #9
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 47
Quote:
if there are no specific suse rpm that sometimes come with a srpm extension the normal rpm use to work fine on suse. at least i didnt encounter difficulties yet...
SRPMs are source RPMs. You have to build them first and then install them. This can sometimes help you overcome any incompatabilities, especially if you can tweak the SPEC file a bit to get it to install better on your distro.
 
Old 10-04-2005, 06:48 AM   #10
sirius57
Member
 
Registered: Jun 2004
Distribution: Fedora core 1, puppy linux, suse 10.0, suse 10.1
Posts: 377

Original Poster
Rep: Reputation: 30
Ok, I just downloaded the suse rpm for flightgear. There was a list of required library files at the bottom of the page. How does one check if they have all the support files?
 
Old 10-04-2005, 05:39 PM   #11
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 47
Try to install it. If you get depedency errors install those packages using YAST.
 
Old 10-04-2005, 09:23 PM   #12
sirius57
Member
 
Registered: Jun 2004
Distribution: Fedora core 1, puppy linux, suse 10.0, suse 10.1
Posts: 377

Original Poster
Rep: Reputation: 30
I just installed it, however, when I go to x terminal and type runfgfs, it comes back with an error (not found). Do I have to path down to where it is installed and where would that be?

Also, I had to run the install twice, because the first time it stoped because of a permissions error. When I clicked 'try again', it went fine.

And do I have to install sim gear?

Last edited by sirius57; 10-04-2005 at 09:24 PM.
 
Old 10-04-2005, 10:50 PM   #13
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 47
Quote:
Do I have to path down to where it is installed and where would that be?
Code:
rpm -ql flightgear | grep bin
Quote:
Also, I had to run the install twice, because the first time it stoped because of a permissions error. When I clicked 'try again', it went fine.
Did you install it as root?
 
Old 10-05-2005, 11:02 AM   #14
sirius57
Member
 
Registered: Jun 2004
Distribution: Fedora core 1, puppy linux, suse 10.0, suse 10.1
Posts: 377

Original Poster
Rep: Reputation: 30
I was prompted for the root password in yast during the install. I am not familiar with terminal commands. Will the above code in your post take me to or list the folder I am looking for?
 
Old 10-05-2005, 05:39 PM   #15
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 47
Code:
rpm -ql flightgear | grep bin
The "rpm -ql flightgear" bit will list all the files from the flightgear RPM, the "grep bin" bit will filter only those with 'bin' in their path, which should show you all the executable files it installed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing .tar.gz files with SuSE Linux 9.1 nemofreak Linux - Newbie 4 02-21-2005 08:10 PM
installing rpm files/ hard drive question ColtWanger Linux - Newbie 3 08-21-2004 11:58 AM
Idiot's guide to installing 'linux-source.src.rpm' in SuSE 9.1 personal needed! ZephyrAnima Linux - Newbie 1 08-12-2004 11:28 AM
How to use RPM files in SuSE 9.0 MoghNX01 Linux - Newbie 3 03-22-2004 04:25 AM
"unzipping"/installing .rpm files on Linux hunnybunny101 Linux - Software 7 07-07-2003 09:05 AM


All times are GMT -5. The time now is 11:32 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration