Differences between revisions 18 and 22 (spanning 4 versions)
Revision 18 as of 2008-02-01 23:35:44
Size: 1937
Editor: PeMac
Comment:
Revision 22 as of 2009-03-16 03:30:05
Size: 1979
Editor: anonymous
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
In computing, the '''tar file format''' is a type of archive file format: the *T*ape *AR*chive format. These files are produced by the ["Unix"] command tar and were standardized by POSIX.1-1998 and later POSIX.1-2001. In computing, the '''tar file format''' is a type of archive file format: the *T*ape *AR*chive format. These files are produced by the [[Unix]] command tar and were standardized by POSIX.1-1998 and later POSIX.1-2001.
Line 3: Line 3:
It is used widely to archive and unarchive files, which means to accumulate a large collection of files into a single archive file (packer), while preserving FileSystem information such as user and group permissions, dates, and ["directory"] structures. It is used widely to archive and unarchive files, which means to accumulate a large collection of files into a single archive file (packer), while preserving FileSystem information such as user and group permissions, dates, and [[directory]] structures.
Line 5: Line 5:
'''Commonly a tar file is referred to as a tarball . Tarballs are ["source"] code''', not binary ["image"] DebianPackage s. DebianPackage s can be downloaded and installed using AptGet . '''Commonly a tar file is referred to as a tarball . Tarballs are [[source]] code''', not binary [[image]] DebianPackage s. DebianPackage s can be downloaded and installed using AptGet .
Line 7: Line 7:
In the Unix philosophy of "one job, one program", it does not support compression directly. If you then want to compress your archive, you use a separate program that is specialised in compression. tar is most commonly used in tandem with an external compression utility such as ["gzip"] or ["bzip2"], since it has no built in data compression facilities. These compression utilities generally only compress a single file, hence the pairing with tar, which can produce a single file from many files. In the Unix philosophy of "one job, one program", it does not support compression directly. If you then want to compress your archive, you use a separate program that is specialised in compression. tar is most commonly used in tandem with an external compression utility such as [[gzip]] or [[bzip2]], since it has no built in data compression facilities. These compression utilities generally only compress a single file, hence the pairing with tar, which can produce a single file from many files.
Line 15: Line 15:
Line 17: Line 16:
After unpacking and uncompressing as ["root"] with After unpacking and uncompressing as [[root]] with
Line 26: Line 25:
$ ["make"] $ [[make]]
Line 34: Line 33:
 * [http://en.wikipedia.org/wiki/tarball Wikipedia article about tarball].  * [[http://en.wikipedia.org/wiki/tarball|Wikipedia article about tarball]].
 * *.[[dsc]] (another source code file).
Line 37: Line 37:
{i} CategoryRedundant: ["targz"] {i} CategoryRedundant: [[targz]]

In computing, the tar file format is a type of archive file format: the *T*ape *AR*chive format. These files are produced by the ?Unix command tar and were standardized by POSIX.1-1998 and later POSIX.1-2001.

It is used widely to archive and unarchive files, which means to accumulate a large collection of files into a single archive file (packer), while preserving FileSystem information such as user and group permissions, dates, and ?directory structures.

Commonly a tar file is referred to as a tarball . Tarballs are source code, not binary image DebianPackage s. DebianPackage s can be downloaded and installed using ?AptGet .

In the Unix philosophy of "one job, one program", it does not support compression directly. If you then want to compress your archive, you use a separate program that is specialised in compression. tar is most commonly used in tandem with an external compression utility such as ?gzip or ?bzip2, since it has no built in data compression facilities. These compression utilities generally only compress a single file, hence the pairing with tar, which can produce a single file from many files.

Filename extension

  • .tar , for tar file.
  • .tar.gz or .tgz (only when compressed by gzip)
  • .tar.bz2 or .tbz (only when compressed by bzip2)

MIME-Type

  • application/x-tar

Installation of tar.gz Files

After unpacking and uncompressing as root with

  • tar -zxvf nameof.tar.gz

(this command above is the equivalent of unzip in windows)

the installation procedure is the standard GNU one:

$ ./configure

$ ?make

$ make install

You usually can do configure and make as a regular user and make install as root

See also:


{i} CategoryRedundant: targz