tclsh command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
tclsh: command not found
or when using sudo you get the following error message
sudo: tclsh: command not found
Solutions to tclsh: command not found
How To Fix tclsh: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu tclsh is provided by tcl package.
tcl is:
Tcl is a powerful, easy to use, embeddable, cross-platform interpreted scripting language.
This package is a dependency package, which depends on Debian’s default Tcl version (currently 8.6).
To fix this problem, we can install more using the command below.
sudo apt-get -y install tcl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install tcl.
sudo apt -y install tcl
Or if you have aptitude installed you can use the following command.
sudo aptitude install tcl
Summary
In this tutorial we learn how to fix tclsh command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.