SeppeBudenaers / IoT_Technologie_PXL_2024

1 stars 0 forks source link

Steps to package your software as a '.deb' package. #7

Open SamyWarnants opened 10 months ago

SamyWarnants commented 10 months ago

With this ticket we will explain how we have packaged our software.

SamyWarnants commented 10 months ago

This tutorial was made using the Debian wiki that can be found here. (incomplete)

  1. 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.)
  2. 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.