Create zip file with password protection in Ubuntu 18.04

Solution 1:

To create an encrypted zip file in Ubuntu 18.04, open up "Archive Manager" (file-roller), click on the top menu (labelled "Archive Manager"), and select "New Archive". Designate the name and destination for your new archive, and change to extension to .zip. Under the "Other Options" sub-menu, create a password, thereby encrypting the archive. Click "Create", then drag or select the specified files into place, and you're done.

Solution 2:

After compressing the files into a zip format.

  1. Open it and click on the three stacks on the right.

  2. Tap on password and you can set any password for the zip file.

JOB DONE

Remember,to change password again,

  1. Go to the password tab and type the new password

  2. Click enter again a window will appear asking password.

  3. Type in the old password and click ok to change the password of the archive.