How To Install mingw32-pdcurses on Fedora 36

In this tutorial we learn how to install mingw32-pdcurses in Fedora 36. mingw32-pdcurses is Curses library for MinGW32

Introduction

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

What is mingw32-pdcurses

PDCurses is a public domain curses library for DOS, OS/2, Win32, X11 and SDL, implementing most of the functions available in X/Open and System V R4 curses. It supports many compilers for these platforms. The X11 port lets you recompile existing text-mode curses programs to produce native X11 applications. Note that ncurses is not available for MinGW / Windows. Applications which need curses functionality can use this package, provided they don’t use any of the extensions specific to ncurses.

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

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

sudo dnf -y install mingw32-pdcurses

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

sudo yum -y install mingw32-pdcurses

How To Uninstall mingw32-pdcurses on Fedora 36

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

sudo dnf remove mingw32-pdcurses

mingw32-pdcurses Package Contents on Fedora 36

/usr/i686-w64-mingw32/sys-root/mingw/bin/pdcurses.dll
/usr/i686-w64-mingw32/sys-root/mingw/include/curses.h
/usr/i686-w64-mingw32/sys-root/mingw/include/panel.h
/usr/i686-w64-mingw32/sys-root/mingw/lib/libpdcurses.dll.a

References

Summary

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