How To Install mingw64-bzip2 on Fedora 36

In this tutorial we learn how to install mingw64-bzip2 in Fedora 36. mingw64-bzip2 is 64 Bit version of bzip2 for Windows

Introduction

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

What is mingw64-bzip2

Bzip2 is a freely available, patent-free, high quality data compressor. Bzip2 compresses files to within 10 to 15 percent of the capabilities of the best techniques available. However, bzip2 has the added benefit of being approximately two times faster at compression and six times faster at decompression than those techniques. Bzip2 is not the fastest compression utility, but it does strike a balance between speed and compression capability. This package contains development tools and libraries for use when cross-compiling Windows software in Fedora.

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

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

sudo dnf -y install mingw64-bzip2

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

sudo yum -y install mingw64-bzip2

How To Uninstall mingw64-bzip2 on Fedora 36

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

sudo dnf remove mingw64-bzip2

mingw64-bzip2 Package Contents on Fedora 36

/usr/share/doc/mingw64-bzip2
/usr/share/doc/mingw64-bzip2/COPYING
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/bunzip2.exe
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzcat.exe
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzcmp
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzdiff
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzegrep
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzfgrep
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzgrep
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzip2.exe
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzip2recover.exe
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzless
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/bzmore
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libbz2-1.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/include/bzlib.h
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libbz2.dll.a
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/bzip2.pc

References

Summary

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