How To Install libzip-tools on Rocky Linux 8

In this tutorial we learn how to install libzip-tools on Rocky Linux 8. libzip-tools is Command line tools from libzip

Introduction

In this tutorial we learn how to install libzip-tools on Rocky Linux 8.

What is libzip-tools

The libzip-tools package provides command line tools split off libzip - zipcmp - zipmerge - ziptool

We can use yum or dnf to install libzip-tools on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libzip-tools.

Install libzip-tools on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libzip-tools using dnf by running the following command:

sudo dnf -y install libzip-tools

Install libzip-tools on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libzip-tools

How To Uninstall libzip-tools on Rocky Linux 8

To uninstall only the libzip-tools package we can use the following command:

sudo dnf remove libzip-tools

libzip-tools Package Contents on Rocky Linux 8

/usr/bin/zipcmp
/usr/bin/zipmerge
/usr/bin/ziptool
/usr/lib/.build-id
/usr/lib/.build-id/17
/usr/lib/.build-id/17/ccf88906852ff551aa3ce780b43d43aa755077
/usr/lib/.build-id/50
/usr/lib/.build-id/50/1c99d68fac47da429a951cdd1f5032363b2f6f
/usr/lib/.build-id/be
/usr/lib/.build-id/be/04ee853e42e06fed74490ed887e0af8bd2b498
/usr/share/man/man1/zipcmp.1.gz
/usr/share/man/man1/zipmerge.1.gz
/usr/share/man/man1/ziptool.1.gz

References

Summary

In this tutorial we learn how to install libzip-tools on Rocky Linux 8 using yum and dnf.