otags command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
otags: command not found
or when using sudo you get the following error message
sudo: otags: command not found
Solutions to otags: command not found
How To Fix otags: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu otags is provided by otags package.
otags is:
Otags generates “tags” files for emacs and vi/vim to give these editors the ability to directly jump to function and value definitions. Otags is based on Camlp4. It can load all Camlp4 syntax extensions and can therefore parse all sources that Camlp4 can parse (including standard and revised syntax).
To fix this problem, we can install more using the command below.
sudo apt-get -y install otags
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install otags.
sudo apt -y install otags
Or if you have aptitude installed you can use the following command.
sudo aptitude install otags
Summary
In this tutorial we learn how to fix otags command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.