A file with the extension .tar.gz or .tgz is an archive (similar to the *.zip
files you may be familiar with from Windows).
The first step is to unpack it. We can tell from the extension that it has
been archived with the linix command "tar" and then compressed with the
"gzip" command.
In Linux-Mandrake, the easiest way to unpack it is to use this command:
tar -zxvf [filename]
This decompresses the contents of the archive in the current directory and
recreates the the archive's original hierachy of files and subdirectories. It
will also leave the original archive intact.
There are many of other ways to do it, but that's what works best for me.
Incidentally, what you'll end up is the _source code_ for the item you want
to install. This means your next step will be to compile it (i.e., using the
source code to create a binary, or executable, version of the program).
M.
On Monday 26 February 2001 19:32, BamBam wrote:
> When I try to execute .tar.gz and .tgz files from the terminal window, I
> get a message that says cannot execute binary file. I've tried ./filename
> and sh filename with no success. Can someone help me out with this one?
> Oh yea... I almost forgot. chmod 755 filename was also tried, but I still
> cannot execute anything from the terminal window. Any help would be
> greatly appreciated.
--
Michael O'Henly
TENZO Design