How to Install and Uninstall zlib.x86_64 Package on Amazon Linux 2

Last updated: May 19,2024

1. Install "zlib.x86_64" package

This guide covers the steps necessary to install zlib.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install zlib.x86_64

2. Uninstall "zlib.x86_64" package

Please follow the guidance below to uninstall zlib.x86_64 on Amazon Linux 2:

$ sudo yum remove zlib.x86_64 $ sudo yum autoremove

3. Information about the zlib.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Installed Packages
Name : zlib
Arch : x86_64
Version : 1.2.7
Release : 19.amzn2.0.1
Size : 177 k
Repo : installed
Summary : The compression and decompression library
URL : http://www.zlib.net/
License : zlib and Boost
Description : Zlib is a general-purpose, patent-free, lossless data compression
: library which is used by many different programs.