nview command not found

In this troubleshooting guide we learn how to fix nview command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

nview: command not found

or when using sudo you get the following error message

sudo: nview: command not found

Solutions to nview: command not found

How To Fix nview: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu nview is provided by nvi package.

nvi is:

Vi is the original screen based text editor for Unix systems. It is considered the standard text editor, and is available on almost all Unix systems.

Nvi is intended as a “bug-for-bug compatible” clone of the original BSD vi editor. As such, it doesn’t have a lot of snazzy features as do some of the other vi clones such as elvis and vim. However, if all you want is vi, this is the one to get.

To fix this problem, we can install more using the command below.

sudo apt-get -y install nvi

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install nvi.

sudo apt -y install nvi

Or if you have aptitude installed you can use the following command.

sudo aptitude install nvi

Summary

In this tutorial we learn how to fix nview command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.