LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-25-2005, 08:28 AM   #1
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Rep: Reputation: 38
rpm to tgz converter


Hi,
I''d like to know if there is a rpm to tgz converter available somewhere. I searched for it but all I got was rpm2targz. Unfortunately installpkg can't install that. I don't want to install the rpm libraries for such small a task. Please advise.
 
Old 07-25-2005, 08:34 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
It is part of the standard Slackware install and it is called, surprisingly, rpm2tgz
 
Old 07-25-2005, 09:23 AM   #3
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
...but after that, it won't be a Slackware package.

egag
 
Old 07-25-2005, 11:13 AM   #4
mago
Member
 
Registered: Apr 2004
Location: Costa Rica
Distribution: slack current with 2.6.16.18 (still off the hook)
Posts: 284

Rep: Reputation: 33
Or you can use a really cool tool called Alien Package converter to play with rpm, deb, tgz back and forward.
 
Old 07-25-2005, 02:20 PM   #5
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Original Poster
Rep: Reputation: 38
HI, I looked about the install disks, but couldn''t find the package rpm2tgz in any of them. Where else is it available?
 
Old 07-25-2005, 02:23 PM   #6
Murdock1979
Member
 
Registered: Oct 2003
Distribution: Slackware Debian VectorLinux
Posts: 429
Blog Entries: 2

Rep: Reputation: 30
Hello,

Do a package search at slackware.com.

Later,
Mords
 
Old 07-25-2005, 02:24 PM   #7
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
root@slack21:/home/egag# grep rpm2tgz /var/log/packages/*
/var/log/packages/rpm-4.2.1-i486-3:rpm:

so it's in " rpm-4.2.1-i486-3.tgz "

egag
 
Old 07-25-2005, 02:36 PM   #8
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
The rpm2tgz "program" is acutally a link to rpm2targz, which is a script, so if you have the bin package installed, you should be good to go. If you read through the script, you'll find that if you invoke rpm2tgz, the package will be created with a .tgz ending. Otherwise if you use the plain rpm2targz, it gets the .tar.gz ending.

Quote:
...but after that, it won't be a Slackware package.
I agree, but unless I'm very mistaken (always a possibility) you can still manage the Frankenstein tgz file with Slackwares package management tools. In some instances (the OpenOffice 2 beta comes to mind) there may not be much of a choice since it was distributed only as an RPM.
 
Old 07-25-2005, 02:45 PM   #9
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
i'll have to change my answer....it's from " bin-9.2.0-i486-2.tgz"

the prev. package came up because in the rpm-... package's description
" rpm2tgz " is mentioned.

and i never tried to use rpm.
i think the "slack.desc " and " install.sh " files are missing
and i know pkgtool can refuse to work with that.

egag
 
Old 07-26-2005, 09:20 AM   #10
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
In the rare instances when I use rpm2tgz, I'll 'explodepkg' on it and then add an 'install/slack-desc'... Takes a minimal amount of time. I also don't think I've come across an RPM that needed a doinst.sh.... How are symlinks created with RPM's anyway? Are they already in the package? I seem to remember converting a cedega RPM just to see if it was the same as the TGZ version. From what I can remember, My converted TGZ had all the symlinks just like their original TGZ version had....

If that really was the case, once you explodepkg and then makepkg, you'll get a doinst.sh along with the slack-desc you just made....

Last edited by jong357; 07-26-2005 at 09:22 AM.
 
Old 07-26-2005, 08:35 PM   #11
ibmercurial
Member
 
Registered: Sep 2004
Location: Harriman Tennessee
Distribution: mx17
Posts: 72

Rep: Reputation: 24
rpm2tgz is a cool tool... Sometimes I use it when YaST can't seem to get it right. SuSE has one that goes the other way.
Thanks mago I'll try that aliens tool
 
  


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
rpm to tgz oDyman Slackware 10 10-25-2004 06:06 AM
tgz vs. rpm vs. source? Joey.Dale Linux - Distributions 3 01-08-2004 09:02 PM
vsftpd and rpm to tgz conversion ghight Slackware 3 12-31-2003 09:26 AM
rpm or tgz which to use? Laptop2250 Linux - Newbie 9 10-22-2003 12:40 PM
installing rpm and tgz packages?? Ikik General 6 10-07-2003 08:00 AM

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

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