How To Install tcl-trf-doc on Ubuntu 18.04

In this tutorial we learn how to install tcl-trf-doc on Ubuntu 18.04. tcl-trf-doc is Tcl data transformations - documentation

Introduction

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

What is tcl-trf-doc

tcl-trf-doc is:

Trf is an extension to Tcl which provides various data transformations. The collection of provided transformation procedures includes:

  • generation of message digests (hash values, checksums): MD2, MD5, SHA/SHS, SHA-1, HAVAL, RIPEMD-128, -160, CRC (polynomial used by PGP), Adler (based upon zlib);
  • conversion to and from various data encodings: uuencoding, base64-encoding, or ASCII85-encoding, and binary, octal, or hexadecimal representation;
  • an error-correcting Reed-Solomon encoder/decoder;
  • compression/decompression based on zlib and libbz2.

This package contains manual pages and HTML documentation for Trf commands and C-API.

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

sudo apt-get -y install tcl-trf-doc

Install tcl-trf-doc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install tcl-trf-doc

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

sudo aptitude -y install tcl-trf-doc

How To Uninstall tcl-trf-doc on Ubuntu 18.04

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

sudo apt-get remove tcl-trf-doc

Uninstall tcl-trf-doc And Its Dependencies

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

sudo apt-get -y autoremove tcl-trf-doc

Remove tcl-trf-doc Configurations and Data

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

sudo apt-get -y purge tcl-trf-doc

Remove tcl-trf-doc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge tcl-trf-doc

References

Summary

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