LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Installing rpm's in ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/installing-rpms-in-ubuntu-369156/)

Kingrames 10-02-2005 05:40 PM

Installing rpm's in ubuntu
 
I have been trying for a bit now to get gtk-devel onto my ubuntu installation.

it's required for ogle, a dvd player.

it can't be found very easily, and the only package I've found for it is a rpm.

I unpackaged the rpm and moved the files where it seemed they wanted to go, and I STILL get the message

*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error: You must have gtk+ development files


when trying to run ./configure for the gui frontend for ogle.

since I'm a really persistent guy, I want to get this working. how do you install a RPM correctly in ubuntu?

PaganHippie 10-02-2005 05:49 PM

man alien

aysiu 10-02-2005 05:58 PM

Ogle's in the the Universe repository.

Follow these directions:

http://ubuntuguide.org/#extrarepositories

Comment out (by putting a # in front of each line) the backports--those are down, and change all the hoary references to breezy if you're using 5.10 (instead of 5.04).

Then, type this in the terminal
Code:

sudo apt-get update
sudo apt-get install ogle


Kingrames 10-02-2005 06:24 PM

Quote:

Originally posted by aysiu

Comment out (by putting a # in front of each line) the backports--those are down, and change all the hoary references to breezy if you're using 5.10 (instead of 5.04).

what's the easiest way to tell if I have 5.10?

system-> about ubuntu?

aysiu 10-02-2005 06:39 PM

Quote:

Originally posted by Kingrames
what's the easiest way to tell if I have 5.10?

system-> about ubuntu?

Actually, never mind--I just saw in your profile you're using Hoary Hedgehog--that's 5.04, so keep everything the way it is (except the backports). Breezy Badger is 5.10.

So, your /etc/apt/sources.list should look like this when you're done
Code:

## Uncomment the following two lines to fetch updated software from the network
deb http://us.archive.ubuntu.com/ubuntu hoary main restricted
deb-src http://us.archive.ubuntu.com/ubuntu hoary main restricted

## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
deb http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu hoary-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu hoary universe
deb-src http://us.archive.ubuntu.com/ubuntu hoary universe

deb http://security.ubuntu.com/ubuntu hoary-security main restricted
deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted

deb http://security.ubuntu.com/ubuntu hoary-security universe
deb-src http://security.ubuntu.com/ubuntu hoary-security universe

deb http://archive.ubuntu.com/ubuntu hoary multiverse
deb-src http://archive.ubuntu.com/ubuntu hoary multiverse

Then, you should save it and
Code:

sudo apt-get update
sudo apt-get install ogle


Kingrames 10-02-2005 06:56 PM

I was only curious because I use the updater a lot and might have upgraded. :D

I installed ogle as directed... but now when I select applications -> sound & video -> ogle it starts loading and then crashes with no error message. unless ubuntu has an error log...

aysiu 10-02-2005 09:27 PM

Quote:

Originally posted by Kingrames
I installed ogle as directed... but now when I select applications -> sound & video -> ogle it starts loading and then crashes with no error message. unless ubuntu has an error log...
That's weird. I've never encountered that. It may live in /var/log somewhere. I'd post a new thread about that.


All times are GMT -5. The time now is 10:57 AM.