How To Install tcl-xmlrpc on Ubuntu 18.04

In this tutorial we learn how to install tcl-xmlrpc on Ubuntu 18.04. tcl-xmlrpc is XML-RPC implementation for Tcl

Introduction

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

What is tcl-xmlrpc

tcl-xmlrpc is:

Tcl implementation of XML-RPC providing both client and server support. The package implements the XML-RPC specification from xmlrpc.com.

Xmlrpc is a spec and a set of implementations that allow software running on disparate operating systems, running in different environments to make procedure calls over the Internet.

It’s remote procedure calling using HTTP as the transport and XML as the encoding. XML-RPC is designed to be as simple as possible, while allowing complex data structures to be transmitted, processed and returned.

There are three methods to install tcl-xmlrpc 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-xmlrpc 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-xmlrpc using apt-get by running the following command:

sudo apt-get -y install tcl-xmlrpc

Install tcl-xmlrpc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install tcl-xmlrpc

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

sudo aptitude -y install tcl-xmlrpc

How To Uninstall tcl-xmlrpc on Ubuntu 18.04

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

sudo apt-get remove tcl-xmlrpc

Uninstall tcl-xmlrpc And Its Dependencies

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

sudo apt-get -y autoremove tcl-xmlrpc

Remove tcl-xmlrpc Configurations and Data

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

sudo apt-get -y purge tcl-xmlrpc

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

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

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

References

Summary

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