How To Install unzip on AlmaLinux 8
Introduction
In this tutorial we learn how to install unzip
on AlmaLinux 8.
What is unzip
The unzip utility is used to list, test, or extract files from a zip archive. Zip archives are commonly found on MS-DOS systems. The zip utility, included in the zip package, creates zip archives. Zip and unzip are both compatible with archives created by PKWARE(R)’s PKZIP for MS-DOS, but the programs’ options and default behaviors do differ in some respects. Install the unzip package if you need to list, test or extract files from a zip archive.
We can use yum
or dnf
to install unzip
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install unzip.
Install unzip on AlmaLinux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install unzip
using dnf
by running the following command:
sudo dnf -y install unzip
Install unzip on AlmaLinux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install unzip
using yum
by running the following command:
sudo yum -y install unzip
How To Uninstall unzip on AlmaLinux 8
To uninstall only the unzip
package we can use the following command:
sudo dnf remove unzip
References
Summary
In this tutorial we learn how to install unzip
on AlmaLinux 8 using yum and dnf.