Created 02-06-2017 02:42 AM
Hi ,
Can you please give the download link for zlib compression file / rpm for centos and installation steps
Thanks
JJ
Created 02-06-2017 03:03 AM
Here's a sample tutorial where we installed zlib.
https://hortonworks.com/hadoop-tutorial/using-ipython-notebook-with-apache-spark/
yum install zlib-devel
Created 02-06-2017 03:03 AM
Here's a sample tutorial where we installed zlib.
https://hortonworks.com/hadoop-tutorial/using-ipython-notebook-with-apache-spark/
yum install zlib-devel
Created 02-06-2017 03:50 AM
Can you please give me the site url to download the needed rmp of zlib?
Created 02-07-2017 04:07 PM
@Jacqualin jasmin it is part of base Centos repo. Should be in one of the RHEL channels as well, don't have a RHEL machine handy to give you exact answer.
Created 02-06-2017 05:00 AM
In your CentOS when you will run the following command then you should see that from CentOS "base" repo you can get this zlib RPM package.
# cat /etc/redhat-release CentOS release 6.6 (Final) # yum info zlib-devel Available Packages Name : zlib-devel Arch : i686 Version : 1.2.3 Release : 29.el6 Size : 44 k Repo : base Summary : Header files and libraries for Zlib development URL : http://www.gzip.org/zlib/ License : zlib and Boost Description : The zlib-devel package contains the header files and libraries needed : to develop programs that use the zlib compression and decompression : library. Name : zlib-devel Arch : x86_64 Version : 1.2.3 Release : 29.el6 Size : 44 k Repo : base Summary : Header files and libraries for Zlib development URL : http://www.gzip.org/zlib/ License : zlib and Boost Description : The zlib-devel package contains the header files and libraries needed : to develop programs that use the zlib compression and decompression : library. http://www.gzip.org/zlib/
- As this package is by default available with the CentOS "base" repo. so you should be able to directly install it as @Artem Ervits mentioned earlier (if you have internet connectivity available on the host).
yum install zlib-devel
- Please look at the following file to see if the base repo is present there or not "/etc/yum.repos.d/CentOS-Base.rep"
.
- If you want to download it from some external repos then you might want to look at the following links. However the CentOs shipped "base" repos are more trusted.
1. https://centos.pkgs.org/6/centos-x86_64/zlib-1.2.3-29.el6.x86_64.rpm.html
2. https://rpmfind.net/linux/rpm2html/search.php?query=zlib
.