debian packages
Hey so I downloaded the guitar pro6 demo:
http://www.guitar-pro.com/en/index.php But it's a .deb package. So uh... now what? It's commercial software. It's not like I can do the ./configure, make, make install thing. |
src2pkg can convert .debs to Slackware packages, I think.
|
It doesn't offer any other format? You could try http://lihavim.wordpress.com/2006/10...-on-slackware/
|
You can uncompress them with ar.
|
You can use Alien to convert between different package formats, if I understand you.
|
I don't think I want to bother with Alien, it looks like someone's side project for fun. He says it's experimental. I bet by the time I got it set up it wouldn't even work on my guitar pro .deb package for some reason.
|
Have a look at the slackbuild for google chrome, it repackages deb packages to regular slackware:
http://slackbuilds.org/slackbuilds/1...ome.SlackBuild |
You're stuck with alien or src2pkg I think for the easy way out. I've repackaged Debian binaries in the past but it was always a manual effort culminating in a SlackBuild for future use. `ar -x file.deb` should work, and then you'll want to untar the control and data files. data is the main catch but there are pre/post-install/removal scripts that you would have to adapt for Slackware. Also pay attention to any startup scripts, which would have to be adapted for Slackware's BSD-style init scripts unless you want inconsistency.
|
So if ar can extract from .deb files then how do I extract from .rpm's? ar says .rpm is an unrecognized format.
|
I'm partial to
Code:
rpm2cpio package.rpm | cpio -imdv |
Oh snap, slack 13.1 is out! Okay this is on hold now. I'm a sub-par linux user and I don't bother with any extra partitions except for swap space so I just save a few files to a removable hard drive and restart from scratch.
|
guitarpro6.SlackBuild:
Code:
#!/bin/sh Code:
# HOW TO EDIT THIS FILE: Code:
if [ -x /usr/bin/update-desktop-database ]; then |
What. You wrote a shellscript just for me? I feel special. I am torrenting 32 bit slack 13.1 right now. I will install it later today and give your script a try and see what happens.
|
All times are GMT -5. The time now is 06:49 AM. |