zipcloak command not found on Ubuntu 21.04

zipcloak command not found on Ubuntu 21.04 server

 

On Linux servers, you can use zipcloak command to encrypt entries in a zipfile

root@ubuntu-21.04:/# zipcloak –decrypt
bash: zipcloak: command not found

Error shows zipcloak command not found on your Ubuntu server. zipcloak command is provided by zip package and this package might not be installed on your server. Run the command ‘dpkg -l | grep zip’ to check whether zip package is installed.

1. Log into your Ubuntu 21.04 server via SSH

2. Run ‘apt update’ to update the package information

3. Install zip package using apt command

4. Enter ‘Y’ if apt ask for confirmation while installing zip

5. To verify the installation, run zipcloak –help command
 

root@ubuntu-21:/# apt update

root@ubuntu-21:/# apt install zip
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
unzip
The following NEW packages will be installed:
unzip zip
0 upgraded, 2 newly installed, 0 to remove and 86 not upgraded.
Need to get 330 kB of archives.
After this operation, 1048 kB of additional disk space will be used.
Do you want to continue? [Y/n] y

 

How to install zip package on Ubuntu 21.04 server

How to install zip package on Ubuntu 21.04 server


 

How to download and install zip deb package

1. Log into Ubuntu 21.04 server via SSH

2. Download zip package from Ubuntu website using wget command

3. Install zip package using dpkg or apt command
 

cd /usr/local/src/

wget http://archive.ubuntu.com/ubuntu/pool/main/z/zip/zip_3.0-12_amd64.deb

apt install ./zip_3.0-12_amd64.deb

 
Run the command ‘zipcloak -h’ to see the command usage and version.

zipcloak –help

Run the command zipcloak -v to see the version.

# zipcloak -v
This is ZipCloak 3.0 (July 5th 2008), by Info-ZIP.