Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing .rpm or .deb on gentoo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
LiKao
n00b
n00b


Joined: 27 Feb 2012
Posts: 4

PostPosted: Mon Feb 27, 2012 6:14 pm    Post subject: Installing .rpm or .deb on gentoo Reply with quote

Hi,

I am currently looking for a way to install *.rpm or *.deb files on Gentoo. However all posts I seem to be able to find on that topic just say that I should use a native gentoo package for that purpose and that there is no way to do what I want.

However I am currently trying to install my printer, which I have been using under ubuntu for quite some time, in a new Gentoo box. The printer is a Epson BX620 FWD network printer, and there are drivers for linux directly available from Epson. However Epson only provides these drivers as .deb or .rpm for direct installation in the system. Hence I need a way to get to the content of these files and somehow install it in my system.

Is there any way to achieve this?

Aparently there is a gutenprint driver for the BX 620 FWD (at least this is what I am currently using in Ubuntu), but it would be nice to be able to install the most up to date driver version from Epson itself. Also there does not seem to be any other way to use the network scanner under linux except using these drivers.

Thanks for your help.
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4651
Location: Saint Amant, Acadiana

PostPosted: Mon Feb 27, 2012 6:35 pm    Post subject: Reply with quote

You can use app-arch/rpm2targz or app-arch/deb2targz to convert packages, then just extract them into a tmp location and copy over what's needed by hand. Keep a log of what you do, just in case you need to remove drivers.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Yuu
Apprentice
Apprentice


Joined: 23 Dec 2008
Posts: 220
Location: France

PostPosted: Mon Feb 27, 2012 6:50 pm    Post subject: Reply with quote

Hi LiKao,

you can also use "ar", from the package sys-devel/binutils :
Code:
$ ar x file.deb



And as Jaglover, keep a track of what you've installed ;)
_________________
Inspiron 1720 laptop : T8300 | 200 Gb hard drive | 2Gb of ram | 8600M GT | Gentoo x86_64
Server : Celeron 220 | 250 Gb hard drive | 2Gb of ram | SiS 662 VGA | Gentoo x86_64
Back to top
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2361
Location: UK

PostPosted: Mon Feb 27, 2012 6:55 pm    Post subject: Reply with quote

You can also use Paludis, which is as simple as running a command in the unpacked rpm/deb directory and will let you uninstall it cleanly like any other package.
Back to top
View user's profile Send private message
toralf
Advocate
Advocate


Joined: 01 Feb 2004
Posts: 2698
Location: Hamburg/Germany

PostPosted: Mon Feb 27, 2012 10:02 pm    Post subject: Reply with quote

You might use the "rpm" command + the parameters to ignore both dependencies and install scripts.
In that case you should inspect the installed libs/programs with "ldd" or "lddtree" to see, whether there are additional libs to be installed.
Back to top
View user's profile Send private message
biodothack
n00b
n00b


Joined: 11 Jan 2012
Posts: 30

PostPosted: Thu Apr 26, 2012 10:30 pm    Post subject: printer Reply with quote

have you fun withit, have you tried looking for the ppd file for your mode as this is how I got my hp working,
_________________
big brother is watching, are you ready?
Back to top
View user's profile Send private message
phunehehe
n00b
n00b


Joined: 26 Sep 2010
Posts: 17
Location: Vietnam

PostPosted: Tue Aug 07, 2012 3:37 pm    Post subject: Reply with quote

According to http://www.miketaylor.org.uk/tech/deb/ , which seems like the home page of dev2targz:
Quote:
DO NOT USE THE deb2targz SCRIPT!
It turns out to be complete waste of time: Debian packages are ar achives, and can be inspected and unpacked using the standard Unix command-line utility ar

I take that to mean that ar is the better way, as it is available by default.
_________________
http://phunehehe.net/
Back to top
View user's profile Send private message
Mgiese
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1335
Location: indiana

PostPosted: Mon Feb 04, 2013 8:03 am    Post subject: Reply with quote

used the ar command for the .dev file, but i received 2 files .. ?!?
_________________
I do not have a Superman complex, for I am God not Superman :D
Back to top
View user's profile Send private message
cb88
n00b
n00b


Joined: 26 Dec 2011
Posts: 14

PostPosted: Sun Feb 17, 2013 7:47 am    Post subject: Reply with quote

you can extract those files with

tar xvf file.tar.gz

They are just plain tar.gz files and the control.tar.gz contains md5sum etc.. and the data.tar.gz contains the acutal packaged binaries
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum