How To Install trf on Kali Linux

In this tutorial we learn how to install trf on Kali Linux. trf is locate and display tandem repeats in DNA sequences

Introduction

In this tutorial we learn how to install trf on Kali Linux.

What is trf

trf is:

A tandem repeat in DNA is two or more adjacent, approximate copies of a pattern of nucleotides. Tandem Repeats Finder is a program to locate and display tandem repeats in DNA sequences. In order to use the program, the user submits a sequence in FASTA format. There is no need to specify the pattern, the size of the pattern or any other parameter. The output consists of two files: a repeat table file and an alignment file. The repeat table, viewable in a web browser, contains information about each repeat, including its location, size, number of copies and nucleotide content. Clicking on the location indices for one of the table entries opens a second browser page that shows an alignment of the copies against a consensus pattern. The program is very fast, analyzing sequences on the order of .5Mb in just a few seconds. Submitted sequences may be of arbitrary length. Repeats with pattern size in the range from 1 to 2000 bases are detected.

There are three methods to install trf on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install 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 trf using apt-get by running the following command:

sudo apt-get -y install trf

Install trf Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install trf

Install trf Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install trf

How To Uninstall trf on Kali Linux

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

sudo apt-get remove trf

Uninstall trf And Its Dependencies

To uninstall trf and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove trf

Remove trf Configurations and Data

To remove trf configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge trf

Remove trf configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge trf

Dependencies

trf have the following dependencies:

References

Summary

In this tutorial we learn how to install trf package on Kali Linux using different package management tools: apt, apt-get and aptitude.