How To Install mingw32-libzip on Fedora 36

In this tutorial we learn how to install mingw32-libzip in Fedora 36. mingw32-libzip is C library for reading, creating, and modifying zip archives

Introduction

In this tutorial we learn how to install mingw32-libzip on Fedora 36.

What is mingw32-libzip

libzip is a C library for reading, creating, and modifying zip archives. Files can be added from data buffers, files, or compressed data copied directly from other zip archives. Changes made without closing the archive can be reverted. The API is documented by man pages.

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

Install mingw32-libzip 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 mingw32-libzip using dnf by running the following command:

sudo dnf -y install mingw32-libzip

Install mingw32-libzip 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 mingw32-libzip using yum by running the following command:

sudo yum -y install mingw32-libzip

How To Uninstall mingw32-libzip on Fedora 36

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

sudo dnf remove mingw32-libzip

mingw32-libzip Package Contents on Fedora 36

/usr/i686-w64-mingw32/sys-root/mingw/bin/libzip-5.dll
/usr/i686-w64-mingw32/sys-root/mingw/bin/zipcmp.exe
/usr/i686-w64-mingw32/sys-root/mingw/bin/zipmerge.exe
/usr/i686-w64-mingw32/sys-root/mingw/bin/ziptool.exe
/usr/i686-w64-mingw32/sys-root/mingw/include/zip.h
/usr/i686-w64-mingw32/sys-root/mingw/include/zipconf.h
/usr/i686-w64-mingw32/sys-root/mingw/lib/cmake/libzip
/usr/i686-w64-mingw32/sys-root/mingw/lib/cmake/libzip/libzip-config-version.cmake
/usr/i686-w64-mingw32/sys-root/mingw/lib/cmake/libzip/libzip-config.cmake
/usr/i686-w64-mingw32/sys-root/mingw/lib/cmake/libzip/libzip-targets-noconfig.cmake
/usr/i686-w64-mingw32/sys-root/mingw/lib/cmake/libzip/libzip-targets.cmake
/usr/i686-w64-mingw32/sys-root/mingw/lib/libzip.dll.a
/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/libzip.pc
/usr/share/licenses/mingw32-libzip
/usr/share/licenses/mingw32-libzip/LICENSE

References

Summary

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