To compress a file/folder into a
tar cvfz archive.tar.gz folder
To decompress a folder/folder:
tar xvfz archive.tar.gz
If you’re working on a local machine with administrator permissions, you may want to add downloaded-binary to your PATH, so that you can access it directly from any project folder. You could do this by extracting it to a directory that is already on your PATH. (For example,
/usr/local/bin is a common choice for Mac and Linux.).
# navigate to download location of .tar.gz
sudo mv downloaded-binary.tar.gz /usr/local/bin/downloaded-binary.tar.gz
sudo tar zxf downloaded-binary.tar.gz
See further details on how to install a binary.
# Linux DESKTOP-KCGTGRV 4.4.0-43-Microsoft
# 1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux
# Debian GNU/Linux 9 \n \l