This tutorial was made using the Debian wiki that can be found here. (incomplete)
Compress an entire directory by running tar -zcvf file. tar. gz /path/to/dir/ command in Linux. (To compress a single file by running tar -zcvf file. tar.)
tar -zcvf file.tar.gz
NOTE: While using the ‘-z’ option, you should specify the archive name with a ‘.tar.gz’ extension and not a ‘.tar’ extension, so the file name shows that the archive is compressed. Although not required, it is a good practice to follow.
With this ticket we will explain how we have packaged our software.