LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-07-2006, 05:03 PM   #1
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
Source RPM file - do what?


Ok. I'm using Ubuntu, which isn't my favorite distro, but it works and thats more than I can say for my install of Gentoo. So i'm trying to install the new version of Firefox since Ubuntu hasn't released it yet and for some reason the Ubuntu version of Firefox is slower than a donkey in a horse race. So I got an error that I need this library for it to work. I found the library on the internet, but its a "src.rpm" file. So finally, how do you install a src.rpm file? I've googled it and read all about what it is, and how to use it if I ran RedHat, but I don't. So can I still use it?
Thanks guys.
 
Old 02-07-2006, 05:39 PM   #2
accessrichard
Member
 
Registered: Apr 2005
Distribution: Fedora Core (latest version)
Posts: 156

Rep: Reputation: 30
I do not use debian but hopefully I can be of assistance.

I believe there is a way to convert rpm's to deb packages and there are instructions here.

http://help.ubuntu.com/starterguide/...html#id2523895

However, I am not aware of any recent firefox updates, and am thinking that the newest version of firefox should be available using apt-get.

It is odd that the ubuntu version of firefox is slow. It should be optimized for ubuntu.

On a side note:
I generally find Firefox to be a slow browser in general. Since kde 3.5 I switched to konqueror which is an awsome browser/file manager. (it is very usable if you customize the interface) I also like opera since it is fast.

Last edited by accessrichard; 02-07-2006 at 05:42 PM.
 
Old 02-07-2006, 05:46 PM   #3
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Original Poster
Rep: Reputation: 45
The latest version of Firefox available for Ubuntu (offically) using apt-get is 1.0.7. There's a bug report actually as to why the ubuntu version of firefox is so slow, but last I checked there had been very little progress on it. So i'm just trying to get the 1.5.1 version to work. I'll take a look at that page though. Thanks!
 
Old 02-07-2006, 07:23 PM   #4
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
http://www.mozilla.com/products/down...nux&lang=en-US

What about that?? it's not a .deb but should work
 
Old 02-07-2006, 08:12 PM   #5
brazilian_user
Member
 
Registered: Nov 2005
Location: Brazil, Po - So Paulo
Distribution: Debian Etch
Posts: 110

Rep: Reputation: 15
Quote:
Originally Posted by accessrichard
I do not use debian but hopefully I can be of assistance.

I believe there is a way to convert rpm's to deb packages and there are instructions here.

http://help.ubuntu.com/starterguide/...html#id2523895

However, I am not aware of any recent firefox updates, and am thinking that the newest version of firefox should be available using apt-get.

It is odd that the ubuntu version of firefox is slow. It should be optimized for ubuntu.

On a side note:
I generally find Firefox to be a slow browser in general. Since kde 3.5 I switched to konqueror which is an awsome browser/file manager. (it is very usable if you customize the interface) I also like opera since it is fast.
It's very easy to convert rpm's to deb packages. Do that:

apt-get install alien, then run this command:

alien rpmpackagename

This will create a new deb package...
 
Old 02-07-2006, 08:23 PM   #6
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Original Poster
Rep: Reputation: 45
I tried to use alien on the rpm I downloaded, but it returned an error.

Code:
steveno@Oliver:~/Desktop$ sudo alien gtk2-2.4.13-2.1.src.rpm
Package build failed. Here's the log:
dh_testdir
dh_testdir
dh_testroot
dh_clean -k -d
dh_installdirs
dh_installdocs
dh_installchangelogs
find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \
        xargs -0 -r -i cp -a {} debian/gtk2
dh_compress
dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dpkg-gencontrol: error: current build architecture amd64 does not appear in package's list (i386)
dh_gencontrol: command returned error code 65280
make: *** [binary-arch] Error 1
find: gtk2-2.4.13: No such file or directory
I don't think the gtk projects makes a seperate version for each architecture. Is there a way around this?
 
Old 02-07-2006, 09:27 PM   #7
accessrichard
Member
 
Registered: Apr 2005
Distribution: Fedora Core (latest version)
Posts: 156

Rep: Reputation: 30
To install gtk2 use

apt-get install gtk2

if that does not work

man apt

or

man apt-get

whatever the command is and look for the command that lets you search for packages, it will look something like

apt-get search gtk2

then find the correct name of tht gtk2 package and do a apt-get install (gtk2-package name)


GTK2 should be found in the apt Ubuntu repo's.

Last edited by accessrichard; 02-07-2006 at 09:35 PM.
 
Old 02-08-2006, 01:16 AM   #8
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Original Poster
Rep: Reputation: 45
I figured out that if you use an archiving tool you can unpack a src.rpm file. After you unpack it that will give you the tarball which you can install. OK the install part is an assumption. But I don't see why you wouldn't be able to.

I fixed this problem by just install Gnome using Apt-get. When you install Gnome it has to have GTK2 to function properly. So this thread is solved. Thanks guys!
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create file "kernel-source-version.rpm xinix Linux - Software 2 09-10-2005 02:45 AM
How do i store the output of an rpm or source to file? dr_zayus69 Linux - Software 8 03-07-2005 10:03 AM
How to build a rpm file from the source file? Flamenco Mandriva 5 12-22-2004 04:40 AM
where does it go when rpm a rpm source file feetyouwell Linux - Software 1 09-03-2004 05:14 PM
How to build an RPM from a source file ? redhat_zephyr Linux - General 1 03-12-2004 02:35 AM


All times are GMT -5. The time now is 10:16 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration