How To Install python3-curtsies on AlmaLinux 8

In this tutorial we learn how to install python3-curtsies in AlmaLinux 8. python3-curtsies is Curses-like terminal wrapper, with colored strings

Introduction

In this tutorial we learn how to install python3-curtsies on AlmaLinux 8.

What is python3-curtsies

Curtsies is curses-like terminal wrapper, can be to annotate portions of strings with terminal colors and formatting. Most terminals will display text in color if you use ANSI escape codes - curtsies makes rendering such text to the terminal easy. Curtsies assumes use of an VT-100 compatible terminal compatibility layer for other types of terminals.

We can use yum or dnf to install python3-curtsies on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-curtsies.

Install python3-curtsies on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install python3-curtsies

Install python3-curtsies on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install python3-curtsies

How To Uninstall python3-curtsies on AlmaLinux 8

To uninstall only the python3-curtsies package we can use the following command:

sudo dnf remove python3-curtsies

References

Summary

In this tutorial we learn how to install python3-curtsies on AlmaLinux 8 using yum and dnf.