Ubuntu – Creating Encrypted Zip Files using 7zip If needed, install 7zip sudo apt-get install p7zip-full Next, run the following command to encrypt and zip up files 7za a -tzip -pMY_SECRET -mem=AES256 secure.zip blah.pdf abcd.doc Source Source