install zlib1g-dev=1.2.9 code example Example: install zlib ubuntu sudo apt install zlib1g sudo apt-get install zlib1g-dev