How To Install notcurses on Fedora 34

notcurses is Character graphics and TUI library Character graphics and TUI library

Introduction

In this tutorial we learn how to install notcurses on Fedora 34.

What is notcurses

Notcurses facilitates the creation of modern TUI programs, making full use of Unicode and 24-bit TrueColor. It presents an API similar to that of Curses, and rides atop Terminfo. This package includes C and C++ shared libraries. notcurses 2.3.11 1.fc34 x86_64 270 k notcurses-2.3.11-1.fc34.src.rpm updates Character graphics and TUI library https ASL 2.0 Notcurses facilitates the creation of modern TUI programs, making full use of Unicode and 24-bit TrueColor. It presents an API similar to that of Curses, and rides atop Terminfo. This package includes C and C++ shared libraries.

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

Install notcurses on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install notcurses

Install notcurses on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install notcurses using yum by running the following command:

sudo yum -y install notcurses

How To Uninstall notcurses on Fedora 34

To uninstall only the notcurses package we can use the following command:

sudo dnf remove notcurses

notcurses Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/48
/usr/lib/.build-id/48/7c3f8d1a15b207b64251694347390cae3e0138
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/6641b101b20bab63e6142c6d43057c95b3e496
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/a323ad20b93ea13b8542b1d365bf14a6aa3c5e
/usr/lib64/libnotcurses++.so.2
/usr/lib64/libnotcurses++.so.2.3.11
/usr/lib64/libnotcurses-core.so.2
/usr/lib64/libnotcurses-core.so.2.3.11
/usr/lib64/libnotcurses.so.2
/usr/lib64/libnotcurses.so.2.3.11
/usr/share/doc/notcurses
/usr/share/doc/notcurses/CONTRIBUTING.md
/usr/share/doc/notcurses/CURSES.md
/usr/share/doc/notcurses/HACKING.md
/usr/share/doc/notcurses/HISTORY.md
/usr/share/doc/notcurses/INSTALL.md
/usr/share/doc/notcurses/NEWS.md
/usr/share/doc/notcurses/OTHERS.md
/usr/share/doc/notcurses/README.md
/usr/share/doc/notcurses/TERMINALS.md
/usr/share/doc/notcurses/USAGE.md
/usr/share/licenses/notcurses
/usr/share/licenses/notcurses/COPYRIGHT
/usr/lib/.build-id
/usr/lib/.build-id/51
/usr/lib/.build-id/51/58770c223fd7756bdeacaa7cad97d3e35596bd
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/86e755381c55302dc6c5b12b43729cd67edf78
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/44a8262b9973d3a33291cd4c04a6e6cb172407
/usr/lib/libnotcurses++.so.2
/usr/lib/libnotcurses++.so.2.3.11
/usr/lib/libnotcurses-core.so.2
/usr/lib/libnotcurses-core.so.2.3.11
/usr/lib/libnotcurses.so.2
/usr/lib/libnotcurses.so.2.3.11
/usr/share/doc/notcurses
/usr/share/doc/notcurses/CONTRIBUTING.md
/usr/share/doc/notcurses/CURSES.md
/usr/share/doc/notcurses/HACKING.md
/usr/share/doc/notcurses/HISTORY.md
/usr/share/doc/notcurses/INSTALL.md
/usr/share/doc/notcurses/NEWS.md
/usr/share/doc/notcurses/OTHERS.md
/usr/share/doc/notcurses/README.md
/usr/share/doc/notcurses/TERMINALS.md
/usr/share/doc/notcurses/USAGE.md
/usr/share/licenses/notcurses
/usr/share/licenses/notcurses/COPYRIGHT
/usr/lib/.build-id
/usr/lib/.build-id/58
/usr/lib/.build-id/58/2103561b2f0e74db7782052b76f5f3c8ffc043
/usr/lib/.build-id/61
/usr/lib/.build-id/61/24da1709cc153053637ed063ef8a9e197818b0
/usr/lib/.build-id/ee
/usr/lib/.build-id/ee/6fb1a1d20ecc885f1684619bd0779b115384f5
/usr/lib64/libnotcurses++.so.2
/usr/lib64/libnotcurses++.so.2.2.3
/usr/lib64/libnotcurses-core.so.2
/usr/lib64/libnotcurses-core.so.2.2.3
/usr/lib64/libnotcurses.so.2
/usr/lib64/libnotcurses.so.2.2.3
/usr/share/doc/notcurses
/usr/share/doc/notcurses/CONTRIBUTING.md
/usr/share/doc/notcurses/INSTALL.md
/usr/share/doc/notcurses/NEWS.md
/usr/share/doc/notcurses/OTHERS.md
/usr/share/doc/notcurses/README.md
/usr/share/doc/notcurses/TERMINALS.md
/usr/share/doc/notcurses/USAGE.md
/usr/share/licenses/notcurses
/usr/share/licenses/notcurses/COPYRIGHT
/usr/lib/.build-id
/usr/lib/.build-id/59
/usr/lib/.build-id/59/20b9cf137f1c12d00cb0e0fdc07e26a0126ee9
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/9961c09080047d363d8267c9d51d22d79b6b29
/usr/lib/.build-id/80
/usr/lib/.build-id/80/246c57b5fd18946d1f749dca7d94dda587d18a
/usr/lib/libnotcurses++.so.2
/usr/lib/libnotcurses++.so.2.2.3
/usr/lib/libnotcurses-core.so.2
/usr/lib/libnotcurses-core.so.2.2.3
/usr/lib/libnotcurses.so.2
/usr/lib/libnotcurses.so.2.2.3
/usr/share/doc/notcurses
/usr/share/doc/notcurses/CONTRIBUTING.md
/usr/share/doc/notcurses/INSTALL.md
/usr/share/doc/notcurses/NEWS.md
/usr/share/doc/notcurses/OTHERS.md
/usr/share/doc/notcurses/README.md
/usr/share/doc/notcurses/TERMINALS.md
/usr/share/doc/notcurses/USAGE.md
/usr/share/licenses/notcurses
/usr/share/licenses/notcurses/COPYRIGHT

References

Summary

In this tutorial we learn how to install notcurses on Fedora 34 using yum and dnf.