How To Install tcl-combat on Ubuntu 18.04

In this tutorial we learn how to install tcl-combat on Ubuntu 18.04. tcl-combat is CORBA scripting with Tcl

Introduction

In this tutorial we learn how to install tcl-combat on Ubuntu 18.04.

What is tcl-combat

tcl-combat is:

Combat is a CORBA Object Request Broker that allows the implementation of CORBA clients and servers in the Tcl programming language.

On the client side, Combat is not only useful to easily test-drive existing CORBA servers, including the ability for rapid prototyping or to interactively interface with servers from a console, but makes Tcl an exciting language for distributed programming. Also, Tk allows to quickly develop attractive user interfaces accessing CORBA services. Server-side scripting using [incr Tcl] classes also offers a wide range of possibilities.

Combat is compatible with the CORBA 3.0 specification including the IIOP protocol, and has been tested to interoperate with a wide range of open-source and commercial ORBs, including MICO, TAO and ORBexpress.

Combat is written in pure Tcl, allowing it to run on all platforms supported by Tcl, which is a much wider range than supported by any other ORB.

There are three methods to install tcl-combat on Ubuntu 18.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 tcl-combat Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install tcl-combat

Install tcl-combat Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install tcl-combat

Install tcl-combat 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 tcl-combat using aptitude by running the following command:

sudo aptitude -y install tcl-combat

How To Uninstall tcl-combat on Ubuntu 18.04

To uninstall only the tcl-combat package we can use the following command:

sudo apt-get remove tcl-combat

Uninstall tcl-combat And Its Dependencies

To uninstall tcl-combat and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove tcl-combat

Remove tcl-combat Configurations and Data

To remove tcl-combat configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge tcl-combat

Remove tcl-combat configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge tcl-combat

References

Summary

In this tutorial we learn how to install tcl-combat package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.