View previous topic :: View next topic |
Author |
Message |
LiKao n00b
Joined: 27 Feb 2012 Posts: 4
|
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 Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Yuu Apprentice
Joined: 23 Dec 2008 Posts: 223 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 _________________ Main laptop : T8300 cpu | 200 GB hard drive | 2 GB of ram | 8600M GT | Gentoo x86_64
Server : Celeron 220 cpu | 250 GB hard drive | 2 GB of ram | SiS 662 VGA | Gentoo x86_64 |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
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 Developer
Joined: 01 Feb 2004 Posts: 3925 Location: Hamburg
|
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: 34
|
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: 21 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. _________________ https://phunehehe.net/ |
|
Back to top |
|
|
Mgiese Veteran
Joined: 23 Mar 2005 Posts: 1611 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
Ryzen9 7950x ; Geforce1650 ; kernel 6.5 ; XFCE |
|
Back to top |
|
|
cb88 n00b
Joined: 26 Dec 2011 Posts: 28
|
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 |
|
|
artbody Guru
Joined: 15 Sep 2006 Posts: 489 Location: LB
|
Posted: Thu Oct 22, 2015 8:19 am Post subject: |
|
|
app-arch/deb2targz didn't work
so i tried to open the *.deb with ark
i saw 3 files
control.tar.gz
data.tar.xz
debian-binary
so i extracted data.tar.xz
and opened this file again with ark
and extracted
Code: | usr/bin/*
usr/share/*
|
works well _________________ Never give up
WM : E16 the true enlightenment
achim |
|
Back to top |
|
|
gentoo-freak n00b
Joined: 11 Sep 2009 Posts: 16
|
Posted: Wed Jun 22, 2016 12:14 pm Post subject: End of Story? |
|
|
artbody wrote: | app-arch/deb2targz didn't work
so i tried to open the *.deb with ark
i saw 3 files
control.tar.gz
data.tar.xz
debian-binary
so i extracted data.tar.xz
and opened this file again with ark
and extracted
Code: | usr/bin/*
usr/share/*
|
works well |
and the end of the story is.......
[] works well ?
[] does not work at all ? |
|
Back to top |
|
|
|