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? |
You could use the deb2tgz tool to convert it.
|
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'. |
Thanks guys,
deb2pkg did the job very easily. Now I can play Space Chem :) |
I've used gnashley's src2pkg utility to create slackware packages from .deb source files. I highly recommend src2pkg. :)
|
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. |
@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. |
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 |
src2pkg with .deb source
Quote:
bonixavier solution looks simple enough, but now that I've gone through the effort to install src2pkg I'd like to try it. |
mfoley, I have little experience with src2pkg, but there is a simple utility out there called deb2tgz that will do what it says, convert a .deb package to a Slackware tgz package (they also have deb2txz if you'd rather have the increased compression).
https://github.com/jbarrett/deb2tgz |
OK, I'll try deb2tgz. But, sorry to be a complete idiot, the link I found to download this is https://sourceforge.net/projects/deb2tgz/. However, I cannot find a link or button anywhere on that page to dowwnload it. Can you straighten me out?
Later ... never mind this post. After more searching I found it at SlackBuilds. Unfortunately, it doesn't work on this particular .deb file :( |
Why not follow the link bassmadrigal gave you?
|
Just clone the repo I linked to and run the SlackBuild. It will produce a deb2tgz package that you can then install.
Code:
git clone https://github.com/jbarrett/deb2tgz.git |
Hi,
Reanimating this old thread... As long as the deb package is using same system libs & toolchain as your running Slackware : the best way to create a perfect Slackware package from a deb package : is using Zenwalk's "SlackBuild" tool. All the best Code:
|
Quote:
Very interesting ! Where does one find Zenwalk's SlackBuild tool ? Thanks -- kjh |
All times are GMT -5. The time now is 12:07 PM. |