How To Install tk2 on Debian 11

In this tutorial we learn how to install tk2 on Debian 11. tk2 is Tk GUI for the ICOM IC-R2 receiver

Introduction

In this tutorial we learn how to install tk2 on Debian 11.

What is tk2

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.

There are three methods to install tk2 on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install tk2 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install tk2 using apt-get by running the following command:

sudo apt-get -y install tk2

Install tk2 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install tk2 using apt by running the following command:

sudo apt -y install tk2

Install tk2 Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install tk2 using aptitude by running the following command:

sudo aptitude -y install tk2

How To Uninstall tk2 on Debian 11

To uninstall only the tk2 package we can use the following command:

sudo apt-get remove tk2

Uninstall tk2 And Its Dependencies

To uninstall tk2 and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove tk2

Remove tk2 Configurations and Data

To remove tk2 configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge tk2

Remove tk2 configuration, data, and all of its dependencies

We can use the following command to remove tk2 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge tk2

Dependencies

tk2 have the following dependencies:

References

Summary

In this tutorial we learn how to install tk2 package on Debian 11 using different package management tools: apt, apt-get and aptitude.