Linux/UNIX/FreeBSD contains many tar packages extensions

Probably the most common other type of package you will see are tar files. These come in a few different flavors. You can identify them by their file extensions, which will be “.tar”, “.tar.gz”, “.tgz”, and “.tar.bz2

package extension opening and extraction command

.tar tar –xvf file.tar

.tar.gz tar -zxvf file.tar.gz

.tgz tar -zxf file.tar.gz

.tar.bz2 (UNIX, FreeBSD ) tar xjf file.tar.gz