optscript command not found

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

Introduction

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

optscript: command not found

or when using sudo you get the following error message

sudo: optscript: command not found

Solutions to optscript: command not found

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

In Ubuntu optscript is provided by universal-ctags package.

universal-ctags is:

ctags parses source code and produces a sort of index mapping the names of significant entities (e.g. functions, classes, variables) to the location where that entity is defined. This index is used by editors like vi and emacsen to allow moving to the definition of a user-specified entity.

Universal Ctags is a fork of Exuberant Ctags that adds additional features as well as support for more languages.

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

sudo apt-get -y install universal-ctags

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

You can also use apt command to install universal-ctags.

sudo apt -y install universal-ctags

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

sudo aptitude install universal-ctags

Summary

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