How To Install otcl-dbg on Ubuntu 20.04

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

Introduction

In this tutorial we learn how to install otcl-dbg on Ubuntu 20.04.

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). Build-Ids: 17ddd0b53c393f724766a5f006a1fd35f1651fa6 9980a0ff404a4de06869e9c3a906e476cf9c9593 a01826be6b4b862ff98976bdcfc68d0338ab78bc

There are three methods to install otcl-dbg on Ubuntu 20.04. 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 first since aptitude is usually not installed by default on Ubuntu. 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 Ubuntu 20.04

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 Ubuntu 20.04, 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 Ubuntu 20.04 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

References

Summary

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