SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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....
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.