How To Install tcl-trf on Debian 9
Introduction
In this tutorial we learn how to install tcl-trf
on Debian 9.
What is tcl-trf
tcl-trf 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 the runtime library to be used in Tcl programs.
There are three methods to install tcl-trf
on Debian 9. 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 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
using apt-get
by running the following command:
sudo apt-get -y install tcl-trf
Install tcl-trf Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install tcl-trf
using apt
by running the following command:
sudo apt -y install tcl-trf
Install tcl-trf 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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install tcl-trf
using aptitude
by running the following command:
sudo aptitude -y install tcl-trf
How To Uninstall tcl-trf on Debian 9
To uninstall only the tcl-trf
package we can use the following command:
sudo apt-get remove tcl-trf
Uninstall tcl-trf And Its Dependencies
To uninstall tcl-trf
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove tcl-trf
Remove tcl-trf Configurations and Data
To remove tcl-trf
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge tcl-trf
Remove tcl-trf configuration, data, and all of its dependencies
We can use the following command to remove tcl-trf
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge tcl-trf
Dependencies
tcl-trf have the following dependencies:
References
Summary
In this tutorial we learn how to install tcl-trf
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.