How To Install otcl-dbg on Kali Linux

In this tutorial we learn how to install otcl-dbg on Kali Linux. otcl-dbg is debug symbol of OTcl (libotcl1 and otcl-shells)

Introduction

In this tutorial we learn how to install otcl-dbg on Kali Linux.

What is otcl-dbg

otcl-dbg is:

OTcl, short for MIT Object Tcl, is an extension to Tcl/Tk for object-oriented programming. It shouldn’t be confused with the IXI Object Tcl extension by Dean Sheenan. (Sorry, but both of them like the name and have been using it for a while.)

Some of OTcl’s features as compared to alternatives are: designed to be dynamically extensible, like Tcl, from the ground up builds on Tcl syntax and concepts rather than importing another language compact yet powerful object programming system fairly portable implementation (2000 lines of C, without core hacks)

OTcl was created by David Wetherall as part of the VUsystem project at MIT. Since 1997, OTcl has been maintained as part of the Mash and VINT/ns efforts (with David’s blessing).

This package contains debug symbol of OTcl (for libotcl1 and otcl-shells).

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

Install otcl-dbg Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install otcl-dbg

Install otcl-dbg Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install otcl-dbg

Install otcl-dbg Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install otcl-dbg

How To Uninstall otcl-dbg on Kali Linux

To uninstall only the otcl-dbg package we can use the following command:

sudo apt-get remove otcl-dbg

Uninstall otcl-dbg And Its Dependencies

To uninstall otcl-dbg and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove otcl-dbg

Remove otcl-dbg Configurations and Data

To remove otcl-dbg configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge otcl-dbg

Remove otcl-dbg configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge otcl-dbg

Dependencies

otcl-dbg have the following dependencies:

References

Summary

In this tutorial we learn how to install otcl-dbg package on Kali Linux using different package management tools: apt, apt-get and aptitude.