Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Can you please give the download link for zlib compression file / rpm for centos and installation step

avatar
Contributor

Hi ,

Can you please give the download link for zlib compression file / rpm for centos and installation steps

Thanks

JJ

1 ACCEPTED SOLUTION

avatar
Master Mentor

Here's a sample tutorial where we installed zlib.

https://hortonworks.com/hadoop-tutorial/using-ipython-notebook-with-apache-spark/

yum install zlib-devel

View solution in original post

4 REPLIES 4

avatar
Master Mentor

Here's a sample tutorial where we installed zlib.

https://hortonworks.com/hadoop-tutorial/using-ipython-notebook-with-apache-spark/

yum install zlib-devel

avatar
Contributor

Can you please give me the site url to download the needed rmp of zlib?

avatar
Master Mentor

@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.

avatar
Master Mentor

@Jacqualin jasmin

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

.