How To Install mingw32-bzip2 on Rocky Linux 8

In this tutorial we learn how to install mingw32-bzip2 on Rocky Linux 8. mingw32-bzip2 is 32 Bit version of bzip2 for Windows

Introduction

In this tutorial we learn how to install mingw32-bzip2 on Rocky Linux 8.

What is mingw32-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.

We can use yum or dnf to install mingw32-bzip2 on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install mingw32-bzip2.

Install mingw32-bzip2 on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install mingw32-bzip2 using dnf by running the following command:

sudo dnf -y install mingw32-bzip2

Install mingw32-bzip2 on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mingw32-bzip2 using yum by running the following command:

sudo yum -y install mingw32-bzip2

How To Uninstall mingw32-bzip2 on Rocky Linux 8

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

sudo dnf remove mingw32-bzip2

mingw32-bzip2 Package Contents on Rocky Linux 8

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

References

Summary

In this tutorial we learn how to install mingw32-bzip2 on Rocky Linux 8 using yum and dnf.