xnav command not found

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

Introduction

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

xnav: command not found

or when using sudo you get the following error message

sudo: xnav: command not found

Solutions to xnav: command not found

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

In Ubuntu xnav is provided by xnav package.

xnav is:

XNav adds a wrapper with CSS style and top and side navigation bars to a directory tree of XHTML documents. It also provides a mechanism for automatic construction of XHTML documents from user defined XML document types, using user supplied XSL.

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

sudo apt-get -y install xnav

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

You can also use apt command to install xnav.

sudo apt -y install xnav

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

sudo aptitude install xnav

Summary

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