How To Install libnotcurses3 on Ubuntu 22.04

In this tutorial we learn how to install libnotcurses3 on Ubuntu 22.04. libnotcurses3 is Character graphics and TUI library

Introduction

In this tutorial we learn how to install libnotcurses3 on Ubuntu 22.04.

What is libnotcurses3

libnotcurses3 is:

Notcurses facilitates the creation of modern TUI programs, making full use of Unicode and 24-bit TrueColor. Its API is similar to that of NCURSES, but extends that with z-buffering, rendering of images and video using ffmpeg, alpha blending, widgets, palette fades, resize awareness, and multithreading support.

This package provides multimedia support via ffmpeg.

There are three methods to install libnotcurses3 on Ubuntu 22.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libnotcurses3 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libnotcurses3 using apt-get by running the following command:

sudo apt-get -y install libnotcurses3

Install libnotcurses3 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libnotcurses3 using apt by running the following command:

sudo apt -y install libnotcurses3

Install libnotcurses3 Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libnotcurses3 using aptitude by running the following command:

sudo aptitude -y install libnotcurses3

How To Uninstall libnotcurses3 on Ubuntu 22.04

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

sudo apt-get remove libnotcurses3

Uninstall libnotcurses3 And Its Dependencies

To uninstall libnotcurses3 and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove libnotcurses3

Remove libnotcurses3 Configurations and Data

To remove libnotcurses3 configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge libnotcurses3

Remove libnotcurses3 configuration, data, and all of its dependencies

We can use the following command to remove libnotcurses3 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libnotcurses3

References

Summary

In this tutorial we learn how to install libnotcurses3 package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.