Ubuntu Tutorial

How To Install notcurses-bin on Ubuntu

Posted on April 1, 2023  (Last modified on May 20, 2023 )
2 minutes  • 399 words

Introduction

In this tutorial we learn how to install notcurses-bin on Ubuntu.

What is notcurses-bin

notcurses-bin is:

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.

These utilities from the Notcurses project include notcurses-demo (a demonstration of various libnotcurses capabilities), ncplayer (a character mode multimedia player), ncls (a file lister that displays multimedia), and other tools. Unit tests are furthermore bundled as notcurses-tester.

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

Install notcurses-bin Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install notcurses-bin

Install notcurses-bin Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install notcurses-bin

Install notcurses-bin 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 notcurses-bin using aptitude by running the following command:

sudo aptitude -y install notcurses-bin

How To Uninstall notcurses-bin on Ubuntu

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

sudo apt-get remove notcurses-bin

Uninstall notcurses-bin And Its Dependencies

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

sudo apt-get -y autoremove notcurses-bin

Remove notcurses-bin Configurations and Data

To remove notcurses-bin configuration and data from Ubuntu we can use the following command:

sudo apt-get -y purge notcurses-bin

Remove notcurses-bin configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge notcurses-bin

Dependencies

notcurses-bin have the following dependencies:

References

Summary

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

Follow us

We provides various tutorials about Ubuntu