-
zlib package not found
Hello
I'm trying to install zlib library on Kali 64 bits but I'm getting an error saying package not found I've tried:
sudo apt-get install zlib1g-dev
sudo apt-get install zlib1g-dev:i386
sudo apt-get install lib32z1
but all failed
I could install the package on 64 bits Ubuntu using the first one but I don't know why it fails with Kali
-
hello forumers, this is my first post :)
I'm also experiencing the same issue as the OP, tried to install rails and launch a new blog but after doing bundler fails and complains zlib is missing.
@OP Please do:
Code:
cat /etc/apt/sources.list
and post your results
Mine are as below:
Code:
#
# deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160120-18:14]/ kali-rolling contrib main non-free
#deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160120-18:14]/ kali-rolling contrib main non-free
deb http://http.kali.org/kali kali main non-free contrib
deb-src http://http.kali.org/kali kali main non-free contrib
## Security updates
deb http://security.kali.org/kali-security kali/updates main contrib non-free
This is a fresh install done today and the last three sources I added after reading the stickies in this forum.
My next stop is to try and build zlib from source, I'll post back if I have any luck.
-
here's the fix I followed
make sure your /etc/apt/sources.list reads:
Code:
#
# deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160120-18:14]/ kali-rolling contrib main non-free
#deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160120-18:14]/ kali-rolling contrib main non-free
deb http://http.kali.org/kali kali-rolling main contrib non-free
then do:
Code:
apt-get install zlib1g-dev
hope this helps!