zipserver command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
zipserver: command not found
or when using sudo you get the following error message
sudo: zipserver: command not found
Solutions to zipserver: command not found
How To Fix zipserver: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu zipserver is provided by python3-zipstream-ng package.
python3-zipstream-ng is:
zipstream-ng can package and stream many files and folders on the fly without needing temporary files or excessive memory.
Includes the ability to calculate the total size of the stream before any data is actually added (provided no compression is used). This makes it ideal for use in web applications since the total size can be used to set the Content-Length header without having to generate the entire file first.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-zipstream-ng
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-zipstream-ng.
sudo apt -y install python3-zipstream-ng
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-zipstream-ng
Summary
In this tutorial we learn how to fix zipserver command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.