| View previous topic :: View next topic |
| Author |
Message |
LiKao n00b

Joined: 27 Feb 2012 Posts: 2
|
Posted: Mon Feb 27, 2012 6:14 pm Post subject: Installing .rpm or .deb on gentoo |
|
|
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 |
|
 |
Jaglover Advocate


Joined: 29 May 2005 Posts: 3972 Location: Saint Amant, Acadiana
|
Posted: Mon Feb 27, 2012 6:35 pm Post subject: |
|
|
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 |
|
 |
Yuu Apprentice


Joined: 23 Dec 2008 Posts: 213 Location: France
|
Posted: Mon Feb 27, 2012 6:50 pm Post subject: |
|
|
Hi LiKao,
you can also use "ar", from the package sys-devel/binutils :
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 |
|
 |
Ant P. Veteran

Joined: 18 Apr 2009 Posts: 1916 Location: UK
|
Posted: Mon Feb 27, 2012 6:55 pm Post subject: |
|
|
| 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 |
|
 |
toralf Advocate


Joined: 01 Feb 2004 Posts: 2406 Location: Hamburg/Germany
|
Posted: Mon Feb 27, 2012 10:02 pm Post subject: |
|
|
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 |
|
 |
biodothack n00b

Joined: 11 Jan 2012 Posts: 30
|
Posted: Thu Apr 26, 2012 10:30 pm Post subject: printer |
|
|
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 |
|
 |
phunehehe n00b

Joined: 26 Sep 2010 Posts: 17 Location: Vietnam
|
Posted: Tue Aug 07, 2012 3:37 pm Post subject: |
|
|
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 |
|
 |
Mgiese Veteran


Joined: 23 Mar 2005 Posts: 1266 Location: indiana
|
Posted: Mon Feb 04, 2013 8:03 am Post subject: |
|
|
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  |
|
| Back to top |
|
 |
cb88 n00b

Joined: 26 Dec 2011 Posts: 5
|
Posted: Sun Feb 17, 2013 7:47 am Post subject: |
|
|
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 |
|
 |
|