Tar files are compressed archives. You’ll encounter them frequently while using a Linux distribution like Ubuntu or even while using the terminal on macOS. Here’s how to extract — or untar — the contents of a tar file, also known as a tarball.
Source : How to Extract Files From a .tar.bz2 or .tar.gz File on Linux