otclsh command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
otclsh: command not found
or when using sudo you get the following error message
sudo: otclsh: command not found
Solutions to otclsh: command not found
How To Fix otclsh: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu otclsh is provided by otcl-shells package.
otcl-shells is:
OTcl, short for MIT Object Tcl, is an extension to Tcl/Tk for object-oriented programming. It shouldn’t be confused with the IXI Object Tcl extension by Dean Sheenan. (Sorry, but both of them like the name and have been using it for a while.)
Some of OTcl’s features as compared to alternatives are: designed to be dynamically extensible, like Tcl, from the ground up builds on Tcl syntax and concepts rather than importing another language compact yet powerful object programming system fairly portable implementation (2000 lines of C, without core hacks)
OTcl was created by David Wetherall as part of the VUsystem project at MIT. Since 1997, OTcl has been maintained as part of the Mash and VINT/ns efforts (with David’s blessing).
This package contains two bin files.
To fix this problem, we can install more using the command below.
sudo apt-get -y install otcl-shells
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install otcl-shells.
sudo apt -y install otcl-shells
Or if you have aptitude installed you can use the following command.
sudo aptitude install otcl-shells
Summary
In this tutorial we learn how to fix otclsh command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.