Page 1 of 3

Installing Epson SX425W drivers on Salix.

Posted: 6. Aug 2011, 18:29
by globetrotterdk
I need to install drivers for an Epson SX425W all in one on a new, full Salix XFCE 13.37 system. The drivers only come as .deb or .rpm packages. I am aware that it is possible to convert .rpm packages by using rpm2tgz. What about dependencies? I can remember from installing the .deb package version of the drivers, that there is a dump truck full of dependencies that need to be resolved. Can slapt-get sort out all of the dependencies from a converted .rpm package? Any special syntax needed for either rpm2tgz or slapt-get when sorting this out?

Re: Installing Epson SX425W drivers on Salix.

Posted: 6. Aug 2011, 20:30
by baran
Hi,

you can use "alien" util too. Alien is a program that converts between the rpm, dpkg, stampede slp, and slackware tgz file formats. ..............

1. Download from http://kitenet.net/~joey/code/alien/
2. Unpack
3. Install alien ...
perl Makefile.PL; make; make install

4. Use alien to convert deb or rpm to the tgz file (like root).
alien --to-tgz <rpm file>



Rene

Re: Installing Epson SX425W drivers on Salix.

Posted: 6. Aug 2011, 21:14
by globetrotterdk
Cheers. I already have alien installed on my desktop Linux Mint system, along with the .deb packages for the printer. Can I assume I get the same result if I run

Code: Select all

alien --to-tgz <.deb package>
? I am assuming that I can ignore this message I received during the conversion

Code: Select all

Warning: Skipping conversion of scripts in package epson-inkjet-printer-nx420: postinst postrm preinst
?

Re: Installing Epson SX425W drivers on Salix.

Posted: 7. Aug 2011, 08:19
by baran
Hi.

Alien: http://linux.die.net/man/1/alien

RPM or DEB are packages, which can have internal scripts for installation. TGZ or TAR.GZ are classic packages without scripts. Your warning is info, RPM has internal scripts. It is needed for conversion to the DEB for example.

alien --to-deb --scripts <RPM file>
or
alien --to-rpm --scripts <DEB file>

You can use alien for installation too. But I didn't use it in Salix. Parameter "-i".


Did you probe this links?
http://www.epson.co.uk/Store/Printers-a ... rs-Support
http://support.epson-europe.com/APSBusi ... river.html
http://www.epson.co.uk/Store/Printers-a ... cleId=3458

Well I have Samsung laserjet ML3561N printer in my job. I must use other Samsung compatible drivers ML25* drivers. Probe to find and use other drivers. I know problem of some printers in linux.

Or you can use RPM2TXZ conversion ;-)

http://www.filewatcher.com/m/rpm2tgz.tgz.1977.0.0.html
http://blog.hashbangbash.com/2010/03/us ... ith-flags/
https://github.com/GArik/rpm2txz/archives/master

I probe to convert it alone. But I don't have this printer. So, I can't probe it.

http://prenos.remontsw.eu/epson-inkjet- ... 2.i486.txz
(1.5MB)

It ir converted from epson-inkjet-printer-nx420-1.0.0-1lsb3.2.i486.rpm

I use SalixOS 32bit with XFCE !

How I made it?

1. I did install rpm, rpm2tgz, rpm2txz, seamonkey-solibs
http://www.filewatcher.com/m/rpm2tgz.tgz.1977.0.0.html
http://blog.hashbangbash.com/2010/03/us ... ith-flags/
https://github.com/GArik/rpm2txz/archives/master
2. I did download epson-inkjet-printer-nx420-1.0.0-1lsb3.2.i486.rpm
3. I did convert it (under root)
rpm2txz -s epson-inkjet-printer-nx420-1.0.0-1lsb3.2.i486.rpm

Probe it.


R.

Re: Installing Epson SX425W drivers on Salix.

Posted: 7. Aug 2011, 09:59
by globetrotterdk
baran wrote:RPM or DEB are packages, which can have internal scripts for installation. TGZ or TAR.GZ are classic packages without scripts. Your warning is info, RPM has internal scripts. It is needed for conversion to the DEB for example.

alien --to-deb --scripts <RPM file>
or
alien --to-rpm --scripts <DEB file>

You can use alien for installation too. But I didn't use it in Salix. Parameter "-i".
OK, cheers. I like alien a lot - very reliable, but I haven't yet installed it on my Salix system. So using alien to convert to .tgz, I should use

Code: Select all

alien --to-tgz --scripts <.deb package>
when converting from .deb packages to .tgz? I couldn't find anything on the "--scripts" switch in the man page.

Thanks. They all lead to the same place :) but as I mentioned before, they only have .rpm and .deb packages. So I have chosen the .deb packages to convert, since I already use those on my other systems. That should be OK, right?
baran wrote:I probe to convert it alone. But I don't have this printer. So, I can't probe it.

http://prenos.remontsw.eu/epson-inkjet- ... 2.i486.txz
(1.5MB)

It ir converted from epson-inkjet-printer-nx420-1.0.0-1lsb3.2.i486.rpm
Sorry, I don't understand what you mean with "probe".

Re: Installing Epson SX425W drivers on Salix.

Posted: 7. Aug 2011, 10:11
by baran
Hi,

PROBE .... I didn't test it, I didn't try it.

ERROR :-))) English is not my native lang. Sorry.

R.

Re: Installing Epson SX425W drivers on Salix.

Posted: 7. Aug 2011, 12:51
by globetrotterdk
baran wrote:Hi,

PROBE .... I didn't test it, I didn't try it.

ERROR :-))) English is not my native lang. Sorry.

R.
Ahh. No worries :)

Re: Installing Epson SX425W drivers on Salix.

Posted: 7. Sep 2011, 13:04
by gapan
tonyzony wrote:Hi, just to ask also about installing Installing Epson SX425W drivers.. How do i set the default printer on SALIX?[/u]
The answer to this question is "Using the CUPS interface".

However, if your driver is not supported by cups, you'll have to find a driver and install it yourself. Probably the case with this specific printer. By the way, converting an rpm to a slackware package using alien or rpm2tgz as described above is definitely not recommended.

Re: Installing Epson SX425W drivers on Salix.

Posted: 7. Sep 2011, 15:20
by globetrotterdk
gapan wrote:By the way, converting an rpm to a slackware package using alien or rpm2tgz as described above is definitely not recommended.
Is it any better converting a .deb file with alien? The only possibilities appear to be either .deb, .rpm or .src.rpm. What and how do other users deal with this?

Re: Installing Epson SX425W drivers on Salix.

Posted: 7. Sep 2011, 16:53
by gapan
globetrotterdk wrote:Is it any better converting a .deb file with alien? The only possibilities appear to be either .deb, .rpm or .src.rpm. What and how do other users deal with this?
No, it's not any better. It's exactly the same. It might work, it might not. It might destroy your system, or not. One should be very cautious about doing something like that. You need to have at least a basic understanding of packaging and your system as a whole, so you can examine the package you created, check if there is anything in there that might break anything.