tkcon command not found

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

Introduction

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

tkcon: command not found

or when using sudo you get the following error message

sudo: tkcon: command not found

Solutions to tkcon: command not found

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

In Ubuntu tkcon is provided by tkcon package.

tkcon is:

TkCon is a Tcl shell and console, making it ideal for experimenting with Tcl and Tk programs interactively.

Features: Command history Path (Unix style) / Proc / Variable name expansion Multiple consoles, each with its own state (via multiple interpreters) Captures stdout and stderr to console window (puts overridden) Hot errors (click on error result to see stack trace) Electric character matching (a la emacs) Electric proc highlighting Communication between consoles and other Tk interpreters (including non-Tcl ones)

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

sudo apt-get -y install tkcon

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

You can also use apt command to install tkcon.

sudo apt -y install tkcon

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

sudo aptitude install tkcon

Summary

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