How To Install zziplib on CentOS 8

zziplib is Lightweight library to easily extract data from zip files Lightweight library to easily extract data from zip files

Introduction

In this tutorial we learn how to install zziplib on CentOS 8.

What is zziplib

The zziplib library is intentionally lightweight, it offers the ability to easily extract data from files archived in a single zip file. Applications can bundle files into a single zip archive and access them. The implementation is based only on the (free) subset of compression with the zlib algorithm which is actually used by the zip/unzip tools. zziplib 0.13.68 8.el8 x86_64 91 k zziplib-0.13.68-8.el8.src.rpm appstream Lightweight library to easily extract data from zip files http LGPLv2+ or MPLv1.1 The zziplib library is intentionally lightweight, it offers the ability to easily extract data from files archived in a single zip file. Applications can bundle files into a single zip archive and access them. The implementation is based only on the (free) subset of compression with the zlib algorithm which is actually used by the zip/unzip tools.

We can use yum or dnf to install zziplib on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install zziplib.

Install zziplib on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install zziplib

Install zziplib on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install zziplib using yum by running the following command:

sudo yum -y install zziplib

How To Uninstall zziplib on CentOS 8

To uninstall only the zziplib package we can use the following command:

sudo dnf remove zziplib

zziplib Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/37
/usr/lib/.build-id/37/afbb9f65d70623662bdedd6790bc8bd84e56f2
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/7d6ccd070e3339c96867ddb181350c56700743
/usr/lib/.build-id/63
/usr/lib/.build-id/63/6273bfb614551335144b287f69c1bc59dd28d9
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/0f5e7cbf71eb662524756ec7a99cfd06ddc3e5
/usr/lib64/libzzip-0.so.10
/usr/lib64/libzzip-0.so.11
/usr/lib64/libzzip-0.so.12
/usr/lib64/libzzip-0.so.13
/usr/lib64/libzzip-0.so.13.0.68
/usr/lib64/libzzipfseeko-0.so.10
/usr/lib64/libzzipfseeko-0.so.11
/usr/lib64/libzzipfseeko-0.so.12
/usr/lib64/libzzipfseeko-0.so.13
/usr/lib64/libzzipfseeko-0.so.13.0.68
/usr/lib64/libzzipmmapped-0.so.10
/usr/lib64/libzzipmmapped-0.so.11
/usr/lib64/libzzipmmapped-0.so.12
/usr/lib64/libzzipmmapped-0.so.13
/usr/lib64/libzzipmmapped-0.so.13.0.68
/usr/lib64/libzzipwrap-0.so.13
/usr/lib64/libzzipwrap-0.so.13.0.68
/usr/share/doc/zziplib
/usr/share/doc/zziplib/COPYING.LIB
/usr/share/doc/zziplib/COPYING.MPL
/usr/share/doc/zziplib/COPYING.ZLIB
/usr/share/doc/zziplib/ChangeLog
/usr/share/doc/zziplib/README
/usr/share/doc/zziplib/TODO
/usr/lib/.build-id
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/f63e9dc1730604337a6973ca27915b68626cf4
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/5c5d79aab5b53010940ed8dac0e11cab65f216
/usr/lib/.build-id/c7
/usr/lib/.build-id/c7/dcfcce58fc313422a3e250c9c9aef59a178055
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/047a6b8833b6571e1a29ab0d80462cca66bc31
/usr/lib/libzzip-0.so.10
/usr/lib/libzzip-0.so.11
/usr/lib/libzzip-0.so.12
/usr/lib/libzzip-0.so.13
/usr/lib/libzzip-0.so.13.0.68
/usr/lib/libzzipfseeko-0.so.10
/usr/lib/libzzipfseeko-0.so.11
/usr/lib/libzzipfseeko-0.so.12
/usr/lib/libzzipfseeko-0.so.13
/usr/lib/libzzipfseeko-0.so.13.0.68
/usr/lib/libzzipmmapped-0.so.10
/usr/lib/libzzipmmapped-0.so.11
/usr/lib/libzzipmmapped-0.so.12
/usr/lib/libzzipmmapped-0.so.13
/usr/lib/libzzipmmapped-0.so.13.0.68
/usr/lib/libzzipwrap-0.so.13
/usr/lib/libzzipwrap-0.so.13.0.68
/usr/share/doc/zziplib
/usr/share/doc/zziplib/COPYING.LIB
/usr/share/doc/zziplib/COPYING.MPL
/usr/share/doc/zziplib/COPYING.ZLIB
/usr/share/doc/zziplib/ChangeLog
/usr/share/doc/zziplib/README
/usr/share/doc/zziplib/TODO

References

Summary

In this tutorial we learn how to install zziplib on CentOS 8 using yum and dnf.