debian zip code example Example 1: linux zip a directory zip -r filename.zip /path/to/folder1 Example 2: install zip debian $ sudo apt install zip