How to unpack (unzip, unarchive) a tar.gz file in Putty/Linux

For many systems, tecnotab is distributed as a tar gz file. This is a common archive format. Here’s how to unpack it…

For tar.gz

To unpack a tar.gz file, you can use the tar command from the shell. Here’s an example:

tar -xzf tecnotab.tar.gz

The result will be a new directory containing the files.

(Also, on many systems, when you download the tar.gz from a web browser, an unpacker will open, and you can just use that.)

For just .gz (.gzip)

In some cases the file is just a gzip format, not tar. Then you can use:

gunzip tecnotab.gz

In order to execute it, you will need to add execute permissions to the file:

chmod +x tecnotab

To run it:

To run the executable file, CD to that directory, and type:


(Or whatever the file name happens to be.)

Leave a Reply