How to create tar file using GZIP in Linux. This article has already been written by me. But I will write something about tar files on Ubuntu 14.04. A lot of people are using tar for storing files but are not sure how to encrypt each individual file once GZIP is used. This article will show you how to create a tar file using GZIP. Also, I will show you how to decrypt and use the file once done. I will also explain a little how to decrypt some files. Create a tar file using GZIP with Ubuntu 14.04 There are many ways to encrypt and decrypt files using tar. For example use: Use GZIP -DC to encode Use GZIP -e or GZIP -z to encode Use tar -c to compress Use tar -AVF to extract and burn it. This is called tar -of. It is a command line version of GZIP. Create a tar file with a name of file1.tar.go. If the file is not known it will be created If we want to extract a zip file. We need to use cat file.zip to create a tar file with data in the same format as the zip file. Encrypt or Decrypt a tar file with GPG I don't want to write a lot, so you will need to do this thing for yourself. The easiest way is to have a tar utility in your Linux system. It is called tar. In other Linux distributions you can download or build GZIP and encrypt, decrypt and burn a tar file. If you are not already using GZIP you should install and use it. GZIP is a command line tool used in shell and in many other programs. It is a compressor and can be used to compress a lot of different types of files. It comes with an option to also encrypt and store the file in a GZIP compressed tar file format. GZIP is often used in many Linux distributions. Gzip is installed from apt-get. This allows you to use it from your package management system. Most of the packages are written in python, and it is very easy to use and integrate. A tar archive format called tar is also used. It is similar to GZIP but takes a lot more space. It is the base that makes it possible for different programs to read and write the archives.