How To Install ne-doc on Ubuntu 18.04

In this tutorial we learn how to install ne-doc on Ubuntu 18.04. ne-doc is documentation for the ne text editor

Introduction

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

What is ne-doc

ne-doc 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.

This package contains the ne documentation in various formats: HTML, PDF, Info and plain text.

There are three methods to install ne-doc 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-doc 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-doc using apt-get by running the following command:

sudo apt-get -y install ne-doc

Install ne-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install ne-doc

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

sudo aptitude -y install ne-doc

How To Uninstall ne-doc on Ubuntu 18.04

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

sudo apt-get remove ne-doc

Uninstall ne-doc And Its Dependencies

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

sudo apt-get -y autoremove ne-doc

Remove ne-doc Configurations and Data

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

sudo apt-get -y purge ne-doc

Remove ne-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge ne-doc

References

Summary

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