How To Install nedit on Ubuntu 22.04

In this tutorial we learn how to install nedit on Ubuntu 22.04. nedit is powerful, customizable, Motif based text editor

Introduction

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

What is nedit

nedit is:

NEdit is a multi-purpose text editor for the X Window System, which combines a standard, easy to use, graphical user interface with the thorough functionality and stability required by users who edit text eight hours a day. It provides intensive support for development in a wide variety of languages, text processors, and other tools, but at the same time can be used productively by just about anyone who needs to edit text.

Because of its mature age, NEdit does not support UTF-8 text files, nor will that be implemented.

There are three methods to install nedit 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 nedit Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install nedit

Install nedit Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install nedit

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

sudo aptitude -y install nedit

How To Uninstall nedit on Ubuntu 22.04

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

sudo apt-get remove nedit

Uninstall nedit And Its Dependencies

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

sudo apt-get -y autoremove nedit

Remove nedit Configurations and Data

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

sudo apt-get -y purge nedit

Remove nedit configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge nedit

References

Summary

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