How To Install php-pclzip on Fedora 36

In this tutorial we learn how to install php-pclzip in Fedora 36. php-pclzip is Compression and extraction functions for Zip formatted archives

Introduction

In this tutorial we learn how to install php-pclzip on Fedora 36.

What is php-pclzip

PclZip library offers compression and extraction functions for Zip formatted archives (WinZip, PKZIP). PclZip gives you the ability to manipulate zip formatted archives. You can create an archive, list the content and extract all its content in the file system. PclZip defines an object class which represent a Zip Archive. This class manages the archive properties and offers access method and actions on the archive.

We can use yum or dnf to install php-pclzip on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-pclzip.

Install php-pclzip on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install php-pclzip

Install php-pclzip on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install php-pclzip

How To Uninstall php-pclzip on Fedora 36

To uninstall only the php-pclzip package we can use the following command:

sudo dnf remove php-pclzip

php-pclzip Package Contents on Fedora 36

/usr/share/doc/php-pclzip
/usr/share/doc/php-pclzip/gnu-lgpl.txt
/usr/share/doc/php-pclzip/readme.txt
/usr/share/php/pclzip
/usr/share/php/pclzip/pclzip.lib.php

References

Summary

In this tutorial we learn how to install php-pclzip on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).