LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 04-27-2007, 10:09 AM   #1
Rojon
Member
 
Registered: Aug 2005
Location: UK
Distribution: Slackware
Posts: 41

Rep: Reputation: 15
Alien command and RPM package


Hi all,

I'm trying to install a printer driver for my Samsung ML-2010 using this tutorial and supplied driver:

http://www.linux-foundation.org/en/O...DriverPackages

It says I have to convert the rpm file using the 'alien' command. When I try this the command doesn't exist (Slackware 11.0). So my question is, do I have to install this package, and if so, where would I find it?

If anyone could point me in the right direction it would be much appreciated.

Thanks a lot!

Last edited by Rojon; 04-27-2007 at 10:12 AM.
 
Old 04-27-2007, 10:18 AM   #2
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
From http://linux.softpedia.com/get/Utili...ien-2594.shtml

Quote:
Alien is a program that converts between the rpm, dpkg, stampede slp, and slackware tgz file formats. If you want to use a package from another distribution than the one you have installed on your system, you can use alien to convert it to your preferred package format and install it.
I'd look at using rpm2tgz or rpm2targz and then whip up a proper slack package for it later, if needed! =)

- Piete.
 
Old 04-27-2007, 12:10 PM   #3
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
rpm is shipped with slackware. you can just install the package with rpm -i --nodeps.
 
Old 04-27-2007, 12:13 PM   #4
Rojon
Member
 
Registered: Aug 2005
Location: UK
Distribution: Slackware
Posts: 41

Original Poster
Rep: Reputation: 15
Thanks Piete!

I converted the file to tgz and installed it, unfortunately it didn't make any difference. In the end I attempted have another shot at installing the driver from the Samsung website and configuring it for the ML-2010. Each test page showed an internal error saying I needed to use the proper driver. As a last resort I attempted to use the previous and later drivers and surprisingly they both worked, both printing a successful test pages.

Not sure why it doesn't work using ML-2010

Thanks again for the help!

Robert
 
Old 04-27-2007, 12:23 PM   #5
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,490

Rep: Reputation: Disabled
When I have installed Brother drivers in the past I have needed to use alien to convert them to tgzs. rpm2tgz did not work for these packages.

Brian
 
Old 04-27-2007, 12:25 PM   #6
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
That's because it skips the install scripts ... which may or may not be critical to proper installation of the drivers. I would go in there and manually install it (yeah, it can take a bit ... like 5 min., but it'll work). alien is better I think, so go with that.
 
Old 04-27-2007, 02:27 PM   #7
Rojon
Member
 
Registered: Aug 2005
Location: UK
Distribution: Slackware
Posts: 41

Original Poster
Rep: Reputation: 15
I uninstalled the driver I used from the Samsung website and decided to give the alien route a try (just out of curiosity). I installed alien and converted the rpm to tgz. The driver shows up in the KDE printer configuration tool once installed. Problem is, the printer doesn't respond and no test page is printed
 
Old 04-27-2007, 03:02 PM   #8
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Can you provide a link to the rpm, maybe I can have a look and tell you how to manually install it.
 
Old 04-27-2007, 03:06 PM   #9
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,490

Rep: Reputation: Disabled
Quote:
Originally Posted by Rojon
I uninstalled the driver I used from the Samsung website and decided to give the alien route a try (just out of curiosity). I installed alien and converted the rpm to tgz. The driver shows up in the KDE printer configuration tool once installed. Problem is, the printer doesn't respond and no test page is printed
Try the web interface for cups. In your web-browser goto http://localhost:631.

Brian
Brian
 
Old 04-27-2007, 04:16 PM   #10
Rojon
Member
 
Registered: Aug 2005
Location: UK
Distribution: Slackware
Posts: 41

Original Poster
Rep: Reputation: 15
H_TeXMeX_H

Here's the link (32bit driver):

http://openprinting.org/show_printer...amsung-ML-2010

BCarey

I thought the graphical version did the same thing but wasn't sure.
 
Old 04-27-2007, 04:25 PM   #11
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Ok, read this first:
http://www.linux-foundation.org/en/O...DriverPackages

Quote:
On any other distribution install the fhs-printingdirs package or do:

mkdir -p /usr/share/ppd
ln -s /usr/share/ppd /usr/share/cups/model/0-driverppds
You may need to make such a link if it doesn't exist.

You can also try installing the driver from source:
http://sourceforge.net/project/showf...ease_id=483701

Then, yes do this:
Quote:
Originally Posted by BCarey
Try the web interface for cups. In your web-browser goto http://localhost:631.
 
Old 04-27-2007, 04:41 PM   #12
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,490

Rep: Reputation: Disabled
Quote:
Originally Posted by Rojon
BCarey

I thought the graphical version did the same thing but wasn't sure.
In theory they may be, but I have had situations (such as the Brother driver install) where the KDE Print Configuration could not find the printer drivers while the web-interface configuration did. Once you configure it in either place you can use it with kprinter.

Brian
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to view content of RPM package using RPM command? Micro420 Linux - General 5 07-18-2010 04:03 PM
Running an RPM package in Kubuntu with ALIEN!!! maverick_awp Linux - Newbie 2 11-21-2006 12:36 PM
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-28-2006 12:57 AM
what is the command to install or upgrade an rpm package??? Simon Adebisi Linux - Software 5 06-29-2005 04:26 AM
rpm command/uninstalling/package management steegs Linux - Newbie 4 12-03-2003 12:29 PM


All times are GMT -5. The time now is 03:03 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration