How To Install libzip.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libzip.x86_64 in Amazon Linux 2. libzip.x86_64 is C library for reading, creating, and modifying zip archives

Introduction

In this tutorial we learn how to install libzip.x86_64 on Amazon Linux 2.

What is libzip.x86_64

libzip is a C library for reading, creating, and modifying zip archives. Files can be added from data buffers, files, or compressed data copied directly from other zip archives. Changes made without closing the archive can be reverted. The API is documented by man pages.

We can use yum to install libzip.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libzip.x86_64.

Install libzip.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libzip.x86_64 using yum by running the following command:

sudo yum -y install libzip.x86_64

How To Uninstall libzip.x86_64 on Amazon Linux 2

To uninstall only the libzip.x86_64 package we can use the following command:

sudo yum remove libzip.x86_64

libzip.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libzip.so.5
/usr/lib64/libzip.so.5.0.0
/usr/share/licenses/libzip-1.3.2
/usr/share/licenses/libzip-1.3.2/LICENSE

References

Summary

In this tutorial we learn how to install libzip.x86_64 on Amazon Linux 2 using yum.