tk2 command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
tk2: command not found
or when using sudo you get the following error message
sudo: tk2: command not found
Solutions to tk2: command not found
How To Fix tk2: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu tk2 is provided by tk2 package.
tk2 is:
The current, experimental version of tk2 works with IC-R2 models which employ 10 kHz or 9 kHz spacing in the AM Broadcast Band (e.g., USA, Japanese, European, and other models). It permits expanded .005 - 1599.995 MHz frequency coverage (except cellular bands) for memory channels and can:
Read a memory image from an IC-R2 receiver or a disk file. Display data from a memory image and let a user change various settings. Add descriptive labels to memory channels and banks. Sort memory channels by frequency or label. Swap pairs of memory banks. Import memory channel data from a csv or ICF file. Export memory channel data to a csv file. Write the results back to the radio.
To fix this problem, we can install more using the command below.
sudo apt-get -y install tk2
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install tk2.
sudo apt -y install tk2
Or if you have aptitude installed you can use the following command.
sudo aptitude install tk2
Summary
In this tutorial we learn how to fix tk2 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.