How To Install ne on CentOS 8

ne is ne, the nice editor

Introduction

In this tutorial we learn how to install ne on CentOS 8.

What is ne

ne is a free (GPL’d) text editor based on the POSIX standard that runs (we hope) on almost every UN*X machine. ne is easy to use for the beginner, but powerful and fully configurable for the wizard, and most sparing in its resource usage.

We can use yum or dnf to install ne on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install ne.

Install ne on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install ne

Install ne on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install ne

How To Uninstall ne on CentOS 8

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

sudo dnf remove ne

ne Package Contents on CentOS 8

/usr/bin/ne
/usr/lib/.build-id
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/234c0c375298b2ad5e29519fc1386bde078ce6
/usr/share/doc/ne
/usr/share/doc/ne/CHANGES
/usr/share/doc/ne/NEWS
/usr/share/doc/ne/README.md
/usr/share/info/ne.info.gz
/usr/share/man/man1/ne.1.gz
/usr/share/ne
/usr/share/ne/extensions
/usr/share/ne/macros
/usr/share/ne/macros/DeleteSOL
/usr/share/ne/macros/aspell
/usr/share/ne/syntax
/usr/share/ne/syntax/4gl.jsf
/usr/share/ne/syntax/ada.jsf
/usr/share/ne/syntax/ant.jsf
/usr/share/ne/syntax/asm.jsf
/usr/share/ne/syntax/asterisk.jsf
/usr/share/ne/syntax/awk.jsf
/usr/share/ne/syntax/batch.jsf
/usr/share/ne/syntax/c.jsf
/usr/share/ne/syntax/classic_pascal.jsf
/usr/share/ne/syntax/cobol.jsf
/usr/share/ne/syntax/comment_todo.jsf
/usr/share/ne/syntax/conf.jsf
/usr/share/ne/syntax/csh.jsf
/usr/share/ne/syntax/csharp.jsf
/usr/share/ne/syntax/css.jsf
/usr/share/ne/syntax/debian.jsf
/usr/share/ne/syntax/diff.jsf
/usr/share/ne/syntax/elixir.jsf
/usr/share/ne/syntax/erb.jsf
/usr/share/ne/syntax/erlang.jsf
/usr/share/ne/syntax/fortran.jsf
/usr/share/ne/syntax/git-commit.jsf
/usr/share/ne/syntax/go.jsf
/usr/share/ne/syntax/haml.jsf
/usr/share/ne/syntax/haskell.jsf
/usr/share/ne/syntax/html.jsf
/usr/share/ne/syntax/htmlerb.jsf
/usr/share/ne/syntax/ini.jsf
/usr/share/ne/syntax/iptables.jsf
/usr/share/ne/syntax/java.jsf
/usr/share/ne/syntax/joerc.jsf
/usr/share/ne/syntax/js.jsf
/usr/share/ne/syntax/jsf.jsf
/usr/share/ne/syntax/jsf_check.jsf
/usr/share/ne/syntax/json.jsf
/usr/share/ne/syntax/lisp.jsf
/usr/share/ne/syntax/lua.jsf
/usr/share/ne/syntax/m4.jsf
/usr/share/ne/syntax/mail.jsf
/usr/share/ne/syntax/mason.jsf
/usr/share/ne/syntax/matlab.jsf
/usr/share/ne/syntax/md.jsf
/usr/share/ne/syntax/ocaml.jsf
/usr/share/ne/syntax/pascal.jsf
/usr/share/ne/syntax/perl.jsf
/usr/share/ne/syntax/php.jsf
/usr/share/ne/syntax/powershell.jsf
/usr/share/ne/syntax/prolog.jsf
/usr/share/ne/syntax/properties.jsf
/usr/share/ne/syntax/ps.jsf
/usr/share/ne/syntax/puppet.jsf
/usr/share/ne/syntax/python.jsf
/usr/share/ne/syntax/rexx.jsf
/usr/share/ne/syntax/ruby.jsf
/usr/share/ne/syntax/sed.jsf
/usr/share/ne/syntax/sh.jsf
/usr/share/ne/syntax/sieve.jsf
/usr/share/ne/syntax/skill.jsf
/usr/share/ne/syntax/sml.jsf
/usr/share/ne/syntax/spec.jsf
/usr/share/ne/syntax/sql.jsf
/usr/share/ne/syntax/tabs.jsf
/usr/share/ne/syntax/tcl.jsf
/usr/share/ne/syntax/tex.jsf
/usr/share/ne/syntax/texinfo.jsf
/usr/share/ne/syntax/troff.jsf
/usr/share/ne/syntax/txt2tags.jsf
/usr/share/ne/syntax/typescript.jsf
/usr/share/ne/syntax/verilog.jsf
/usr/share/ne/syntax/vhdl.jsf
/usr/share/ne/syntax/whitespace.jsf
/usr/share/ne/syntax/xml.jsf
/usr/share/ne/syntax/yaml.jsf

References

Summary

In this tutorial we learn how to install ne on CentOS 8 using yum and dnf.