LinuxQuestions.org
Visit Jeremy's Blog.
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 01-28-2008, 01:43 AM   #1
mocqueanh
Member
 
Registered: Dec 2007
Location: Vietnam
Distribution: Slackware, Xubuntu, Puppy, WinXP
Posts: 38

Rep: Reputation: 15
Is it able to install Debian package on Slackware ?


I've found rpm command in Slackware, it allow me install Red Hat package onto my Slack. But dont have dpkg command.

Show do you have method to use dpkg to install Debian package on Slack ?
 
Old 01-28-2008, 02:55 AM   #2
subekk0
Member
 
Registered: Sep 2003
Location: Dallas, TX.
Distribution: Slacking since '94
Posts: 153

Rep: Reputation: 32
Umm... I don't think that dpkg is what you are looking for. If you are using Alien to do the conversion you should convert the package to tgz and roll the dice.

Good Luck
 
Old 01-28-2008, 03:33 AM   #3
d1s4st3r
Member
 
Registered: May 2004
Location: Italy
Posts: 70

Rep: Reputation: 16
There is another "raw" way to install Debian packages on Slackware.
First of all, you need to uncompress the Debian archive:
Code:
$ ar x mypackage.deb
This produces two .tar.gz files, data.tar.gz and control.tar.gz. To "install" the contents of the package, you can try:
Code:
# cd /
# tar xzf <your_directory>/data.tar.gz
Good luck!
 
Old 01-28-2008, 05:20 AM   #4
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Basically, what people are saying is, that you should only use the pkgtool scripts to install packages on Slackware. You really shouldn't even be using rpm to install rpm packages.

There is a 'deb2tgz' script out there somewhere if I'm not mistaken. Maybe it's called 'deb2targz'. It works the same as 'rpm2tgz'. If you have an rpm or deb that you want to install on Slackware, try to convert it first to a 'tgz' Slackware package.

To add to the earlier posts, I usually use 'undeb' and then repackage it with makepkg. undeb is pretty much the same as what d1s4st3r suggested.

http://jaguarlinux.com/pub/DIY/sourc...2.9/misc/undeb
 
  


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
the grub package failed to install (using debian) mrj Linux - Software 12 08-05-2007 03:24 PM
Can't install Slackware Package Evok3 Linux - Newbie 4 03-11-2006 12:50 PM
How to install Linux RPM package under Debian? yilang Debian 4 08-06-2005 11:19 PM
Installing debian package in slackware TomalakBORG Linux - Software 1 06-16-2005 07:56 PM
How can i install a debian package under Suse 8.0 tostado Linux - Software 1 09-24-2002 02:15 PM

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

All times are GMT -5. The time now is 02:06 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