How To Install dextractor on Ubuntu 22.04

In this tutorial we learn how to install dextractor on Ubuntu 22.04. dextractor is (d)extractor and compression command library

Introduction

In this tutorial we learn how to install dextractor on Ubuntu 22.04.

What is dextractor

dextractor is:

Dextractor commands allow one to pull exactly and only the information needed for assembly and reconstruction from the source HDF5 files produced by the PacBio RS II sequencer, or from the source BAM files produced by the PacBio Sequel sequencer.

For each of the three extracted file types – fasta, quiva, and arrow – the library contains commands to compress the given file type, and to decompress it, which is a reversible process delivering the original uncompressed file. The compressed .fasta files, with the extension .dexta, consume 1/4 byte per base. The compressed .quiva files, with the extension .dexqv, consume 1.5 bytes per base on average, and the compressed .arrow files, with the extension .dexar, consume 1/4 byte per base

For more information, please view the available documentation at https://github.com/thegenemyers/DEXTRACTOR

There are three methods to install dextractor on Ubuntu 22.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 dextractor Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install dextractor

Install dextractor Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install dextractor

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

sudo aptitude -y install dextractor

How To Uninstall dextractor on Ubuntu 22.04

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

sudo apt-get remove dextractor

Uninstall dextractor And Its Dependencies

To uninstall dextractor and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove dextractor

Remove dextractor Configurations and Data

To remove dextractor configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge dextractor

Remove dextractor configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge dextractor

References

Summary

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