tcl2c++ command not found

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

Introduction

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

tcl2c++: command not found

or when using sudo you get the following error message

sudo: tcl2c++: command not found

Solutions to tcl2c++: command not found

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

In Ubuntu tcl2c++ is provided by tclcl package.

tclcl is:

TclCL (Tcl with classes) is a Tcl/C++ interface used by Mash, vic, vat, rtp_play and nsnam. It provides a layer of C++ glue over OTcl.

This package contains bin file.

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

sudo apt-get -y install tclcl

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

You can also use apt command to install tclcl.

sudo apt -y install tclcl

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

sudo aptitude install tclcl

Summary

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