How To Install mingw32-pcre2 on Fedora 36

In this tutorial we learn how to install mingw32-pcre2 in Fedora 36. mingw32-pcre2 is MinGW Windows pcre2 library

Introduction

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

What is mingw32-pcre2

MinGW Windows pcre2 library.

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

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

sudo dnf -y install mingw32-pcre2

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

sudo yum -y install mingw32-pcre2

How To Uninstall mingw32-pcre2 on Fedora 36

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

sudo dnf remove mingw32-pcre2

mingw32-pcre2 Package Contents on Fedora 36

/usr/i686-w64-mingw32/sys-root/mingw/bin/libpcre2-16-0.dll
/usr/i686-w64-mingw32/sys-root/mingw/bin/libpcre2-32-0.dll
/usr/i686-w64-mingw32/sys-root/mingw/bin/libpcre2-8-0.dll
/usr/i686-w64-mingw32/sys-root/mingw/bin/libpcre2-posix-3.dll
/usr/i686-w64-mingw32/sys-root/mingw/bin/pcre2-config
/usr/i686-w64-mingw32/sys-root/mingw/bin/pcre2grep.exe
/usr/i686-w64-mingw32/sys-root/mingw/bin/pcre2test.exe
/usr/i686-w64-mingw32/sys-root/mingw/include/pcre2.h
/usr/i686-w64-mingw32/sys-root/mingw/include/pcre2posix.h
/usr/i686-w64-mingw32/sys-root/mingw/lib/libpcre2-16.dll.a
/usr/i686-w64-mingw32/sys-root/mingw/lib/libpcre2-32.dll.a
/usr/i686-w64-mingw32/sys-root/mingw/lib/libpcre2-8.dll.a
/usr/i686-w64-mingw32/sys-root/mingw/lib/libpcre2-posix.dll.a
/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/libpcre2-16.pc
/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/libpcre2-32.pc
/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/libpcre2-8.pc
/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/libpcre2-posix.pc
/usr/share/licenses/mingw32-pcre2
/usr/share/licenses/mingw32-pcre2/LICENCE

References

Summary

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