LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 02-24-2013, 07:22 AM   #1
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Rep: Reputation: 72
Which is better to convert to use on Slackware...


a .deb or an .rpm?

I just ordered a Brother printer (HL2280DW), and Brother supplies drivers for linux but only as .deb or .rpm

I just remembered about rpm2tgz but can't remember for the life of me if there's a way to change a deb to a tgz so I can install it on my Slackware 14 system.
 
Old 02-24-2013, 07:26 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Debian package to tgz :

$ ar -x <package.deb> && mv data.tar.gz <name>.tgz
 
1 members found this post helpful.
Old 02-24-2013, 07:37 AM   #3
D1ver
Member
 
Registered: Jan 2010
Distribution: Slackware 13.37
Posts: 598
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
I'm pretty sure you can use src2pkg on either .dep and .tgz to create a slackware package.
 
4 members found this post helpful.
Old 02-24-2013, 08:23 AM   #4
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
D1ver, you are right. Using src2pkg to convert rpm or deb packages will not ensure that the programs run on Slackware, but it will at least avoid borking your system due to bad perms or permissions.
 
4 members found this post helpful.
Old 02-24-2013, 11:34 AM   #5
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Original Poster
Rep: Reputation: 72
Thanks guys. I also kept looking and looking and eventually found this - deb2tgz. It's 5 years old, here's the website http://code.google.com/p/deb2tgz/downloads/list

I'll try src2pkg first...just because it's a stock install (isn't it?) than the deb2pkg thing.

Heh...nope, I see it isn't. Got it now and installing it to see how it'll do.

Last edited by irgunII; 02-24-2013 at 11:39 AM.
 
Old 02-24-2013, 12:07 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Actually "deb2tgz" is as primitive as $ ar -x <package.deb> && mv data.tar.gz <name>.tgz

deb2tgz, line 105 : mv $TMPDIR/data.tar.gz $(basename $i .deb).tgz


Why not use the suggested src2pkg : Very easy to install ..
http://distro.ibiblio.org/amigolinux...8-noarch-1.txz
> src2pkg-2.8-noarch-1.txz

-
 
Old 02-24-2013, 12:16 PM   #7
kikinovak
MLED Founder
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: CentOS, OpenSUSE
Posts: 3,453

Rep: Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154Reputation: 2154
Quote:
Originally Posted by irgunII View Post
a .deb or an .rpm?

I just ordered a Brother printer (HL2280DW), and Brother supplies drivers for linux but only as .deb or .rpm

I just remembered about rpm2tgz but can't remember for the life of me if there's a way to change a deb to a tgz so I can install it on my Slackware 14 system.
I regularly setup Brother printers using their RPM drivers on Slackware.

Here's my own little HOWTO on the subject (scroll down a bit):

http://www.microlinux.fr/slackware/L...CUPS-HOWTO.txt

If you install it on Slackware64, be sure to install the basic set of Multilib packages.

Cheers,

Niki
 
1 members found this post helpful.
Old 02-24-2013, 12:42 PM   #8
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
irgunII,

I own Brother HL-5340D printer. I tried both DEB and RPM drivers with it and there’s no difference. Finally I decided to use PPD driver (the text one). Unfortunately Brother doesn’t offer PPD driver for your HL-2280DW but you could try the PPD driver provided for the similar printer such as HL-4070CDW:

http://welcome.solutions.brother.com...nload_prn.html

***

By the way: are you willing to perform some font tests using your Brother laser printer? My printer causes some problems with GNU FreeFont family. I tested that a lot and described these problems here and there. I could provide you the test file. To perform the test it’s enough to install GNU FreeFont, print the file, and evaluate the results.
 
1 members found this post helpful.
Old 02-24-2013, 01:32 PM   #9
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,223

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
RPMs can be installed directly. Just use Slackware's included RPM with --nodeps.

Last edited by dugan; 03-03-2013 at 01:47 AM.
 
2 members found this post helpful.
Old 02-24-2013, 04:19 PM   #10
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
This is what worked for me with a Brother MFC-J825DW printer/scanner.
http://docs.slackware.com/howtos:har...r_installation
 
1 members found this post helpful.
Old 02-24-2013, 06:52 PM   #11
Cultist
Member
 
Registered: Feb 2010
Location: Georgia
Distribution: Slackware64 14.2
Posts: 779

Rep: Reputation: 107Reputation: 107
A little off topic to your original question, but if you have no luck with installing it as a package, this thread might help you: http://www.linuxquestions.org/questi...h-cups-846633/

I had a problem installing printer drivers for a Brother printer, and ended up managing it with the ppd file instead.
 
2 members found this post helpful.
Old 02-25-2013, 12:09 AM   #12
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Original Poster
Rep: Reputation: 72
Wow! Thanks for all the tips and help folks! What a great place, heh!

@w1k0 - Once I have the printer here and actually have it running (supposed to get here Monday), I'll get the font you're talking about and let you know when I'm ready to test it...so long as it's not going to eat a buttload of paper or toner (I'm a monetarily poor SoB and this printer was a 'splurge' and that's because I was able to get it at half price, heh. I still have yet to get some paper also...and a usb cable as I'm not too comfortable with the network setup stuff...unless networkmanager will see it automagically for me and set it up for me when I plug in an ethernet cable).

And just in case anyone coming by and reading all this and asking themselves why get a Brother if it's not nearly as easy to get up-and-running as, say an HP of some kind - it's because I've read nothing but good reports about Brother printers lasting forever and working well. Every other company I've read about (well, not 'every', but many) makes nothing but throw-away stuff. I used to like Epson for their work with Linux, but the price of inkjet and the things just falling apart after a year or two just couldn't be afforded by me anymore. Hell, I've got an old Epson Stylus C86 sitting in the closet right now that I don't know what to do with, heh.
 
Old 02-25-2013, 12:27 AM   #13
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Quote:
and a usb cable as I'm not too comfortable with the network setup stuff.
If you have a spare port in your router, then I suggest using a network connection, as it is likely to be less troublesome than a USB connection. There have been some fun and games in the past with udev rules for USB connections.
There was a thread in the Hardware forum recently where someone was trying to get a Brother printer working using a USB connection. After much discussion it was found that the user was using a USB 3 port, which was not working with the printer on the hardware being used.

Personally, I like Brother devices (I am on my second), as they provide good Linux support and I have received very quick, courteous and knowledgeable responses when I have emailed queries.
 
2 members found this post helpful.
Old 02-25-2013, 11:40 AM   #14
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Original Poster
Rep: Reputation: 72
Quote:
Originally Posted by allend View Post
If you have a spare port in your router, then I suggest using a network connection, as it is likely to be less troublesome than a USB connection. There have been some fun and games in the past with udev rules for USB connections.
There was a thread in the Hardware forum recently where someone was trying to get a Brother printer working using a USB connection. After much discussion it was found that the user was using a USB 3 port, which was not working with the printer on the hardware being used.

Personally, I like Brother devices (I am on my second), as they provide good Linux support and I have received very quick, courteous and knowledgeable responses when I have emailed queries.
Oh...hmmm...my router is in another room, too far for me to get a cable to it, thus, it's wireless. D'you think it will still be less trouble than a usb cable? If I can get it to work wireless, the other person in the house hopefully won't be pestering me nearly as often to 'borrow' the printer when I get it (and she's one of those idiots who thinks a question mark in the middle of a white web page needs to be printed...or in other words, whole forests have been persecuted during the time she used to own her own printer several years back but she'll learn real quick that that crap isn't going to happen on *my* printer...I'm not a nice person and PC and me are like cats and mice). <BEG>
 
Old 02-25-2013, 04:36 PM   #15
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Original Poster
Rep: Reputation: 72
Okay...got the printer to print (I had to go get a USB cable and it actually worked...the network cable on the ethernet was just too confusing and was working nor was the wireless even though the printer itself got on the wireless setup).

The problem I'm having now is I can't get it to scan. I've installed the brscanner things and done everything on all the pages you guys have shown me to read.

The only thing left I want to try is this:

#brsaneconfig4 -a name=SCANNER model=HL-2280DW ip=

Only I don't know how to get the ip address for the printer. Any ideas? Remember, it's usb connected.

Last edited by irgunII; 02-26-2013 at 03:12 PM.
 
  


Reply



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
want to convert AVI to /DivX; Slackware 12.2 JosephS Linux - Software 11 04-06-2009 09:37 AM
Slackware Convert....help? barn63 Slackware 3 08-26-2007 12:06 PM
Slackware convert alienmagic Slackware 23 05-14-2006 09:51 PM
how can I convert this file to slackware Paxmaster Linux - Software 6 07-05-2004 01:53 AM
Help me convert fully to slackware ;-) rock_ya_baby Slackware 1 05-22-2004 02:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:56 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
Open Source Consulting | Domain Registration