How To Install mingw32-xz on Fedora 36

In this tutorial we learn how to install mingw32-xz in Fedora 36. mingw32-xz is Cross-compiled LZMA compression utilities

Introduction

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

What is mingw32-xz

XZ Utils are an attempt to make LZMA compression easy to use on free (as in freedom) operating systems. This is achieved by providing tools and libraries which are similar to use than the equivalents of the most popular existing compression algorithms. LZMA is a general purpose compression algorithm designed by Igor Pavlov as part of 7-Zip. It provides high compression ratio while keeping the decompression speed fast.

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

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

sudo dnf -y install mingw32-xz

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

sudo yum -y install mingw32-xz

How To Uninstall mingw32-xz on Fedora 36

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

sudo dnf remove mingw32-xz

mingw32-xz Package Contents on Fedora 36

/usr/i686-w64-mingw32/sys-root/mingw/bin/unxz.exe
/usr/i686-w64-mingw32/sys-root/mingw/bin/xz.exe
/usr/i686-w64-mingw32/sys-root/mingw/bin/xzcat.exe
/usr/i686-w64-mingw32/sys-root/mingw/bin/xzdec.exe
/usr/share/licenses/mingw32-xz
/usr/share/licenses/mingw32-xz/COPYING
/usr/share/licenses/mingw32-xz/COPYING.GPLv2
/usr/share/licenses/mingw32-xz/COPYING.GPLv3
/usr/share/licenses/mingw32-xz/COPYING.LGPLv2.1

References

Summary

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