How to convert a tar.gz-file to tgz-file ?
Hi !
How do I convert a tar.gz-file to tgz-file ? I use Slackware 10.0. Thanks ! |
Code:
mv filename.tar.gz filename.tgz |
It's the same
Code:
mv <zee_file>.tar.gz <zee_file>.tgz |
Quote:
Thats all .... I want a Slackware pack ... How do build a tgz-file from a tar.gz-file then ? |
if you want to build a slackware package you need to do the following..
Code:
mkdir /pack |
You may want to read a bit more about Slackware packages before trying to make them, a good starting point: http://www.linuxpackages.net/howto.php
Examining existing packages is a good learning experience too. There's a little tool created by gnashley that can help you to compile programs easily and make packages from them, make a search on this forum, there's a thread about it ( http://www.linuxquestions.org/questi...d.php?t=462649 ). |
Quote:
What makes a given .tgz a slackware package is the context of the contents of that archive. Therefore making some arbitrary .tar.gz suffixed file a slackware package is not merly a matter of some simple conversion, it is a matter of correctly constructing a package using some data that _may_ be in a .tar.gz file. gbonvehi cites a good place to learn about package construction if that's really what you want to do. But the conversion between tar.gz distributed source and a slackware package isn't some one step command. |
I was reading over this post and thinking "what's the quickest way to recognise that it's a tar.gz or a slackware package (tgz)?". Probably it would be that
A tar.gz (source files) ... 1) has text files called README, INSTALL with info on compilation (but tgz may have these too) 2) has Makefile or some text files that mention make, or perhaps a setup script like setup.pl 2) has a autogen.sh or configure script used to start off the package making routine 3) has a src/, doc/ or lib/ directory but not usually a bin/ directory A tgz usually has just a couple of directories in the root of the file and they usually correspnd to high level system dir such as usr, share. A tgz also usually has an install/ dir with a doinst.sh file. |
and you can look for those directories with "tar -tzf filename.tgz|less"
|
or simply "less filename.tgz"
|
OK !!! :scratch:
Thank you all very much for the information. Well, then it is little more complicated to build a Slackwarepackage from a sourcepackage. Very confusing to have Slackwarepackages named after tarball's. Thanks ! Philip |
Quote:
|
Quote:
In my opinion, you couldn't find a better package management system. regards, ...drkstr **edit** my 1000'th post. Neato! |
Quote:
|
Quote:
|
All times are GMT -5. The time now is 05:45 PM. |