LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 12-23-2004, 02:16 AM   #1
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Rep: Reputation: 38
Binaries in gentoo


Hi,
I wanted to know if it ispossible to install binaries in Gentoo, like rpm,deb,etc.I tried looking up in the Gentoo documents,but it doesn't mention it.Please advise.
 
Old 12-23-2004, 02:39 AM   #2
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Why? Just emerge it. I'm not sure if you can do that or not. I did find this though.

* app-arch/rpm
Latest version available: 4.2
Latest version installed: [ Not Installed ]
Size of downloaded files: 9,513 kB
Homepage: http://www.rpm.org/
Description: Red Hat Package Management Utils
License: GPL-2 LGPL-2


It may be doable.

Later



edit: corrected my bad typing.

Last edited by dalek; 12-23-2004 at 02:42 AM.
 
Old 12-23-2004, 09:35 PM   #3
slackMeUp
Member
 
Registered: Nov 2003
Distribution: Slack-where?
Posts: 654

Rep: Reputation: 30
you can...

but then what's the point of Gentoo?
 
Old 12-30-2004, 10:25 AM   #4
kesara
Member
 
Registered: Dec 2004
Location: Colombo, Sri Lanka
Distribution: Arch Linux, Gentoo Linux, Ubuntu, Debian
Posts: 116

Rep: Reputation: 15
Yes you can..
But you can't emerge it.
Use rpm2targz (same kind of program available for deps also)
then untar it to /usr;-)
 
Old 12-30-2004, 11:00 AM   #5
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
He can just emerge the rpm program, listed above in previous post, then he can, I guess, use the rpm commands just like in Redhat and Mandrake.

I'm still not sure why someone would want to do this though.

Later

 
Old 12-30-2004, 04:37 PM   #6
vrln
Member
 
Registered: Mar 2004
Location: Finland
Distribution: Gentoo
Posts: 235

Rep: Reputation: 30
My suggestion would be to stay clear of all binaries that aren't in portage. You'll mess up your system with .rpm:s sooner or later, they aren't meant to be used in Gentoo.
 
Old 12-30-2004, 10:56 PM   #7
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
I agree. I have had RPMs mess my old Mandrake so it stands to reason Gentoo may be the same way. I'm still wondering why though. If you want to use RPMs, just install Redhat or Mandrake and be done with it.

Later

 
Old 12-31-2004, 05:43 PM   #8
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
I can't remember but I had a look and I'm pretty sure emerging the rpm package doesn't set up the database and stuff so it doesn't really make rpms just work out of the box for you.
 
Old 12-31-2004, 09:22 PM   #9
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Actually if you emerge the RPM package, the database is a dependancy. It installs it too. Here's the list of what it installs, less what is already on my system.

Code:
root@smoker / # emerge -pv rpm

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  NS   ] sys-libs/db-3.2.9-r10  +doc +java 2,036 kB
[ebuild  N    ] dev-libs/elfutils-0.94-r1  +nls (-uclibc) 793 kB
[ebuild  N    ] app-arch/rpm-4.2  -debug +doc +nls +python 9,513 kB

Total size of downloads: 12,343 kB

root@smoker / #
sys-libs/db-3.2.9-r10 is I think the key to that. If he emerges rpm, and the dependancies, the it should work just like Mandrake and Redhat.

As easy as emerge is to use, I'm still not sure why a person would want to deal with RPMs. The only reason I can think of is if they do not want to compile the packages because of a slow machine. Of course, there are precompiled packages in Gentoo as well, from what I have read.

Anyway, it should still work.

Later

 
Old 12-31-2004, 10:38 PM   #10
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Yeah portage does have binary packages but I think they are few and far between. However if you just use the -k flag it'll check for a binary package and if it exists use it else compile from source.
Code:
# emerge -k <package_name>
 
  


Reply



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
PHP binaries Reformed Mandriva 4 08-12-2004 09:33 AM
shortcut to binaries? DrGnome Linux - Software 3 04-07-2004 02:33 PM
What do with binaries? lectraplayer Linux - Newbie 21 11-11-2003 09:50 PM
RPM's and Binaries vierstein Linux - Newbie 4 09-12-2003 07:03 PM
Binaries socks Linux - Newbie 1 11-20-2002 09:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 01:40 AM.

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
Open Source Consulting | Domain Registration