How To Install librg-utils-perl on Ubuntu 18.04

In this tutorial we learn how to install librg-utils-perl on Ubuntu 18.04. librg-utils-perl is parsers and format conversion utilities used by (e.g.) profphd

Introduction

In this tutorial we learn how to install librg-utils-perl on Ubuntu 18.04.

What is librg-utils-perl

librg-utils-perl is:

This package contributes to the PredictProtein server for the automated structural annotation of protein sequences. It features as series of conversion tools like:

  • blast2saf.pl
  • blastpgp_to_saf.pl
  • conv_hssp2saf.pl
  • copf.pl
  • hssp_filter.pl
  • safFilterRed.pl

which are supported by the modules:

  • RG:Utils::Conv_hssp2saf
  • RG:Utils::Copf
  • RG:Utils::Hssp_filter

There are three methods to install librg-utils-perl 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 librg-utils-perl Using apt-get

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

sudo apt-get update

After updating apt database, We can install librg-utils-perl using apt-get by running the following command:

sudo apt-get -y install librg-utils-perl

Install librg-utils-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install librg-utils-perl using apt by running the following command:

sudo apt -y install librg-utils-perl

Install librg-utils-perl 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 librg-utils-perl using aptitude by running the following command:

sudo aptitude -y install librg-utils-perl

How To Uninstall librg-utils-perl on Ubuntu 18.04

To uninstall only the librg-utils-perl package we can use the following command:

sudo apt-get remove librg-utils-perl

Uninstall librg-utils-perl And Its Dependencies

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

sudo apt-get -y autoremove librg-utils-perl

Remove librg-utils-perl Configurations and Data

To remove librg-utils-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge librg-utils-perl

Remove librg-utils-perl configuration, data, and all of its dependencies

We can use the following command to remove librg-utils-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge librg-utils-perl

References

Summary

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