To install zlib1g-dev, simply type the following when logged in as root
apt-get install zlib1g-dev
where the fifth character of the name is the number 1 (one) not lowercase L (ell).
Typo on the page? Not on my copy of the Internet. 'ramdom' is useless to you, it must be 'random' , so recreate them.