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. |
It is part of the standard Slackware install and it is called, surprisingly, rpm2tgz
|
...but after that, it won't be a Slackware package.
egag |
Or you can use a really cool tool called Alien Package converter to play with rpm, deb, tgz back and forward.
|
HI, I looked about the install disks, but couldn''t find the package rpm2tgz in any of them. Where else is it available?
|
Hello,
Do a package search at slackware.com. Later, Mords |
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 |
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:
|
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 |
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 |
All times are GMT -5. The time now is 07:41 AM. |