# Basic syntax:
tar -zxvf file.tar.gz
# Where:
# - x tells tar to extract the files
# - v tells the command to list all of the files in the archive
# - z tells the tar command to uncompress the file (gzip)
# - f tells tar that you are going to give it a file name to work with
tar -xvf file.tar.gz
tar -zxvf file_name.tar.gz
# compress
tar czvf < archive_name >.tar.gz < path >
# extract
tar xzvf < archive_name >.tar.gz
tar xzvf < archive_name >.tar.gz -C /home/usera/tmp
tar -xvzf community_images.tar.gz
tar -xf archive.tar.gz
tar –xvzf documents.tar.gz
tar -xvf archive.tar.gz
or
tar -xf archive.tar.gz -C /home/linuxize/files
tar -xf archive.tar.gz
tar -zxvf {file.tar.gz}
tar -xf archive.tar.gz -C /home/linuxize/files
# Unzip GZ file
gunzip file.gz
or
gzip -d file.gz
1. Extract it all
2. Come to the folder in which you extracted it
3. ./(filename)
4. make
5. sudo make install
Unzip a . GZ file by typing "gunzip" into the "Terminal" window
tar –xvf documents.tar