CentOS Linux Install zlib-devel RPM Package

How do I install zlib-devel (header files and libraries for Zlib development) package under CentOS Linux 5.x server using command line options?

The zlib-devel package contains the header files and libraries needed to develop programs that use the zlib compression and decompression library. This is also used by many third party packages. You can use the yum command as follows to install the same:
# yum install zlib-devel
Sample outputs:

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirror.usonyx.net
 * base: mirror.usonyx.net
 * extras: mirror.usonyx.net
 * updates: mirror.usonyx.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package zlib-devel.i386 0:1.2.3-3 set to be updated
---> Package zlib-devel.x86_64 0:1.2.3-3 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

 Package                                 Arch                                Version                                 Repository                         Size
 zlib-devel                              i386                                1.2.3-3                                 base                              101 k
 zlib-devel                              x86_64                              1.2.3-3                                 base                              102 k

Transaction Summary
Install      2 Package(s)         
Update       0 Package(s)         
Remove       0 Package(s)         

Total download size: 202 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): zlib-devel-1.2.3-3.i386.rpm                                                                                                    | 101 kB     00:01     
(2/2): zlib-devel-1.2.3-3.x86_64.rpm                                                                                                  | 102 kB     00:00     
Total                                                                                                                         69 kB/s | 202 kB     00:02     
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : zlib-devel                                                                                                                            1/2 
  Installing     : zlib-devel                                                                                                                            2/2 

  zlib-devel.i386 0:1.2.3-3                                                    zlib-devel.x86_64 0:1.2.3-3                                                   


🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 0 comments... add one

CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
0 comments… add one

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Problem posting comment? Email me @ webmaster@cyberciti.biz