How To Install ne on Ubuntu 18.04

In this tutorial we learn how to install ne on Ubuntu 18.04. ne is easy-to-use and powerful text editor

Introduction

In this tutorial we learn how to install ne on Ubuntu 18.04.

What is ne

ne is:

Ne, the nice editor, is one of the few text editors being both easy to use for the beginner and powerful enough for the wizard, supporting UTF-8 and multi-column characters as well as syntax highlighting.

It uses short, intuitive and easy to remember key bindings while providing all the features an editor should have. It is fully configurable allowing the user to change the content of the various menus, to easily create small macros and to easily change the existing key bindings while being a small and fast editor.

There are three methods to install ne on Ubuntu 18.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 ne Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install ne

Install ne Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ne

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

sudo aptitude -y install ne

How To Uninstall ne on Ubuntu 18.04

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

sudo apt-get remove ne

Uninstall ne And Its Dependencies

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

sudo apt-get -y autoremove ne

Remove ne Configurations and Data

To remove ne configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge ne

Remove ne configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ne

References

Summary

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