sudo apt-get install zlibc zlib1g zlib1g-dev code example
Example 1: install zlib ubuntu
sudo apt install zlib1g
sudo apt-get install zlib1g-dev
Example 2: how to install zlib
$ sudo apt install zlib1g
sudo apt install zlib1g
sudo apt-get install zlib1g-dev
$ sudo apt install zlib1g