Re: W3DJS Raspberry Pi Ham Radio Image v2.0 Released

Michael WA7SKG

To elucidate:

What's a tarball? - or - How do I unpack or create a .tgz or .tar.gz file?

Most Unix software on the net is distributed in the form of a tarball. This just means that all the files have been packed into a tar file, which has been compressed with gzip to save space. The file name thus ends up having extension .tar.gz. Sometimes this is shortened to .tgz.

To unpack a tarball:

tar zxvf filename

To list the files in a tarball:

tar ztvf filename

To make a new tarball fred.tar.gz from a directory fred:

tar zcvf fred.tar.gz fred


tar cvf fred.tar fred ; gzip fred.tar

If all those cvfs and zxvfs make your head spin, refer to this table, which explains what they all mean:
c create an archive
f filename the name of the archive file
t table of contents: tell me what's in an archive
v verbose: tell me what's going on
x extract from an archive
z put the archive through gzip

Michael WA7SKG

Perry Ogletree wrote on 11/1/19 10:07 PM:

/Thanks! I had always equated “tar” and “tarball” packed files as alike, going all the way back to the old Unix TAR command. Still learning after 40 years in computers./
/In any event, Windows needs help to deal with either where as it is native in ‘nux OS./
*From:* <> *On Behalf Of *Dave Slotter, W3DJS
*Sent:* Friday, November 1, 2019 06:32 PM
*Subject:* Re: [RaspberryPi-4-HamRadio] W3DJS Raspberry Pi Ham Radio Image v2.0 Released
TAR format... TAR stands for "Tape ARchive". It's a collection of files. Please don't confuse file.tar with file.tar.gz (also called a "tarball"). A *.tar file is uncompressed. A *.tar.gz is compressed. A *.tar.bz2 is also compressed.
Hope this helps.
- Dave
W3DJS <>

Join to automatically receive all group messages.