How To Install mingw64-pdcurses on Fedora 36

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

Introduction

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

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

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

sudo dnf -y install mingw64-pdcurses

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

sudo yum -y install mingw64-pdcurses

How To Uninstall mingw64-pdcurses on Fedora 36

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

sudo dnf remove mingw64-pdcurses

mingw64-pdcurses Package Contents on Fedora 36

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

References

Summary

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