need help about .tar.gz extensions

Discussion regarding the installation and configuration of Linux distributions.

need help about .tar.gz extensions

Postby ecstasy » Thu Jun 05, 2003 1:38 am

salamo alikum, i am new to linux, i am using redhat 9, please tell me about .tar files, i want to install netscape, plese tell me hot to handle these kinds of extension and how to run set up,
regards
take care
Keep Smiling!
ecstasy
Cadet
 
Posts: 5
Joined: Thu May 22, 2003 1:13 am
WLM: murtaza_awan@hotmail.com
Yahoo Messenger: deadmanback@yahoo.com
Location: Lahore

Postby fawad » Thu Jun 05, 2003 8:46 am

ecstasy,
.tar.gz is composed of two components.

.tar: tar stands for 'tape archive'. It's a simple archiving mechanism standard for all Unixes. It just packs a bunch of files into one. No compression is done
.gz: is created from the gzip command. This command compresses 1 file and appends the .gz extension to it.

Therefore, to create a compressed archive of multiple files, you create a .tar.gz (tarball for short) file. As the tar and gzip are done in that order, to undo them (equivalent of unzipping), you first gunzip, then untar. For example, for file

foo.tar.gz
, first you do
gzip -d foo.tar.gz
to get
foo.tar
upon which you do
tar -xvf foo.tar

These can be combined into

tar -zxvf foo.tar.gz


That said, you can just use ark to do these operations from the GUI (it's the *NIX frontend to tar, gz, bzip2, zip etc.).

Good luck with your linux adventures.
-fawad
fawad
Site Admin
 
Posts: 918
Joined: Wed Aug 07, 2002 8:00 pm
ICQ: 17672437
Website: http://www.fawad.net
WLM: fawadhalim@hotmail.com
Yahoo Messenger: fawad2048
AOL: fawadhalim
Location: Addison, IL


Return to “%s” Installation

Who is online

Users browsing this forum: No registered users and 3 guests

cron