How To Install mingw64-xz on Fedora 36

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

Introduction

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

What is mingw64-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 mingw64-xz on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install mingw64-xz.

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

sudo dnf -y install mingw64-xz

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

sudo yum -y install mingw64-xz

How To Uninstall mingw64-xz on Fedora 36

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

sudo dnf remove mingw64-xz

mingw64-xz Package Contents on Fedora 36

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

References

Summary

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