tar file type is used to combine multiple files into a single archive. Tar actually means “tape archive,” because tar’s original purpose was to be used on tape backups – that should tell you how old this format is. Linux systems still use the tar format, and it continues to enjoy widespread use to this day.
Tar files, with the extension
.tar, are often called “tarballs.” These files will preserve the Linux file permissions and can combine any number of files into the single archive, but they don’t apply any compression or space savings. However, compression can be easily applied to the tar file, resulting in extensions like
.tar.gz in the case of gzip compression, or
.tar.xz for xz compression.
In this guide, we’ll show how to open tar files on command line and via GUI. This will include tar files with various compression applied to the archive. Check out the examples below to find out how.
In this tutorial you will learn:
- How to open tar file via GUI
- How to open tar file via command line