LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 10-12-2011, 04:19 AM   #1
D1ver
Member
 
Registered: Jan 2010
Distribution: Slackware 13.37
Posts: 527
Blog Entries: 3

Rep: Reputation: 126Reputation: 126
Best way to install .deb package in Slackware?


Hello,
I've bought the latest Humble Bundle recently and one of the games is distributed only as a .deb file.

Whats the correct way to install this in Slackware?
 
Old 10-12-2011, 04:35 AM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,613
Blog Entries: 1

Rep: Reputation: 1047Reputation: 1047Reputation: 1047Reputation: 1047Reputation: 1047Reputation: 1047Reputation: 1047Reputation: 1047
You could use the deb2tgz tool to convert it.
 
1 members found this post helpful.
Old 10-12-2011, 04:42 AM   #3
fgcl2k
Member
 
Registered: Jan 2011
Distribution: Slackware 14.1
Posts: 108

Rep: Reputation: 29
You could try using 'alien' to convert the package.

http://www.slacky.eu/asche/pkgs/index.php?ver=15&pkg=38

You can also extract directly the contents of the deb file with 'ar'.
 
1 members found this post helpful.
Old 10-12-2011, 04:55 AM   #4
D1ver
Member
 
Registered: Jan 2010
Distribution: Slackware 13.37
Posts: 527
Blog Entries: 3

Original Poster
Rep: Reputation: 126Reputation: 126
Thanks guys,
deb2pkg did the job very easily. Now I can play Space Chem
 
Old 10-12-2011, 08:11 AM   #5
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,282

Rep: Reputation: 588Reputation: 588Reputation: 588Reputation: 588Reputation: 588Reputation: 588
I've used gnashley's src2pkg utility to create slackware packages from .deb source files. I highly recommend src2pkg.
 
Old 10-12-2011, 09:56 AM   #6
ottavio
Member
 
Registered: Nov 2007
Posts: 312

Rep: Reputation: 46
Best way to install .deb package in Slackware?

I think the title is misleading, it should have been "install xyz.deb package in Slackware?".

As a general rule, one should not just install a package that was meant for another distribution if not in an emergency and if no other solutions exist. It's better to find the source and build a package with slackbuilds.
 
Old 10-12-2011, 06:51 PM   #7
D1ver
Member
 
Registered: Jan 2010
Distribution: Slackware 13.37
Posts: 527
Blog Entries: 3

Original Poster
Rep: Reputation: 126Reputation: 126
@Hitest: Thanks! I already had src2pkg installed but I didn't think to check if could do the job. I assumed it was just for source archives.

@ottavio: I know it's generally a poor way to install software, but I was trying to install a closed source Linux game which was only distributed as a .deb package.
 
Old 10-12-2011, 08:11 PM   #8
bonixavier
Member
 
Registered: Sep 2010
Distribution: Slackware
Posts: 320

Rep: Reputation: 62
D1ver, HumbleBundle too?

BTW, you can manually make a Slack package out of most .deb files and it is not really complicated. .debs have one particular file you should be interested in: data.tar.gz. They keep their doinst.sh in another file called control.tar.gz which you should inspect and, if needed, incorporate into a post-install script.

In the case of SpaceChem, you can do the following:
Code:
mkdir -p work/pkg
cd work
ar -x /path/to/SpaceChem-i386.deb
cd pkg
tar xvf ../data.tar.gz
Then, as root, you run makepkg in the work/pkg directory, like
makepkg -l y -c n /tmp/SpaceChem-i386.txz
 
1 members found this post helpful.
  


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
install destination of deb package jeowu Linux - Software 7 07-02-2010 02:35 PM
Can't install .Deb file or (package) Xzibit Linux - Newbie 28 01-16-2010 03:58 PM
Is there any way to install .deb package to Fedora kartik_mistry Debian 5 06-18-2009 06:07 PM
How to install deb package tstrickland Linux - Newbie 10 07-21-2005 07:39 PM
Can I install a .deb package into Vector? Fritz_Monroe Linux - Newbie 2 05-31-2005 06:52 PM


All times are GMT -5. The time now is 06:03 PM.

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