Working with Archives

An archive is a directory tree that has been put together into a single file in such a way that it can be restored at a later date. Archives may also be compressed. The most common type of archive on Linux is the tar archive, but we also consider cpio and pax archives as well as zip archives. rpm package files (used as installation packages on SUSE, Red Hat, and other Linux distributions) are a special kind of archive, as are Debian packages (.deb).

" J"1 A general point about unpacking archives: Sometimes badly behaved archives will i-j '2 ^ i-.-.,". .■¿'CV-.w -j unpack into the current directory rather than into a directory under the current directory. This can be annoying, so it is always a good idea to put the archive into a new directory of its own before you unpack it.

Was this article helpful?

0 0

Post a comment