How To Install zip on Fedora 34
Introduction
In this tutorial we learn how to install zip
on Fedora 34.
What is zip
The zip program is a compression and file packaging utility. Zip is analogous to a combination of the UNIX tar and compress commands and is compatible with PKZIP (a compression and file packaging utility for MS-DOS systems). Install the zip package if you need to compress files using the zip program.
We can use yum
or dnf
to install zip
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install zip.
Install zip on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install zip
using dnf
by running the following command:
sudo dnf -y install zip
Install zip on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install zip
using yum
by running the following command:
sudo yum -y install zip
How To Uninstall zip on Fedora 34
To uninstall only the zip
package we can use the following command:
sudo dnf remove zip
zip Package Contents on Fedora 34
/usr/bin/zip
/usr/bin/zipcloak
/usr/bin/zipnote
/usr/bin/zipsplit
/usr/lib/.build-id
/usr/lib/.build-id/23
/usr/lib/.build-id/23/828e8aed39c7700a8c7bee9c8e996a8a9dea55
/usr/lib/.build-id/83
/usr/lib/.build-id/83/32342d0a62f2154cc5972672c41f8ccbad90aa
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/68907559fcca7bb6910ad6b0c4d460aaee140f
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/c1b9fd62033493cc175a4240b41fd13cfeca88
/usr/share/doc/zip
/usr/share/doc/zip/CHANGES
/usr/share/doc/zip/README
/usr/share/doc/zip/README.CR
/usr/share/doc/zip/TODO
/usr/share/doc/zip/WHATSNEW
/usr/share/doc/zip/WHERE
/usr/share/doc/zip/algorith.txt
/usr/share/licenses/zip
/usr/share/licenses/zip/LICENSE
/usr/share/man/man1/zip.1.gz
/usr/share/man/man1/zipcloak.1.gz
/usr/share/man/man1/zipnote.1.gz
/usr/share/man/man1/zipsplit.1.gz
References
Summary
In this tutorial we learn how to install zip
on Fedora 34 using yum and dnf.