zip command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
zip: command not found
or when using sudo you get the following error message
sudo: zip: command not found
Solutions to zip: command not found
How To Fix zip: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu zip is provided by zip package.
zip is:
This is InfoZIP’s zip program. It produces files that are fully compatible with the popular PKZIP program; however, the command line options are not identical. In other words, the end result is the same, but the methods differ. :-)
This version supports encryption.
To fix this problem, we can install more using the command below.
sudo apt-get -y install zip
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install zip.
sudo apt -y install zip
Or if you have aptitude installed you can use the following command.
sudo aptitude install zip
Summary
In this tutorial we learn how to fix zip command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.