CentOS Linux安装zlib-devel RPM软件包
时间:2020-01-09 10:34:12 来源:igfitidea点击:
如何使用命令行选项在CentOS Linux 5.x服务器下安装zlib-devel(用于Zlib开发的头文件和库)软件包?
zlib-devel软件包包含开发使用zlib压缩和解压缩库的程序所需的头文件和库。
许多第三方程序包也使用此功能。
您可以使用yum命令如下进行安装:
# yum install zlib-devel
输出示例:
Loaded plugins: fastestmirror 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 ============================================================================================================================================================= Installing: 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 Installed: zlib-devel.i386 0:1.2.3-3 zlib-devel.x86_64 0:1.2.3-3 Complete!