centrifuge-compress command not found

In this troubleshooting guide we learn how to fix centrifuge-compress command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

centrifuge-compress: command not found

or when using sudo you get the following error message

sudo: centrifuge-compress: command not found

Solutions to centrifuge-compress: command not found

How To Fix centrifuge-compress: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu centrifuge-compress is provided by centrifuge package.

centrifuge is:

Centrifuge is a very rapid and memory-efficient system for the classification of DNA sequences from microbial samples, with better sensitivity than and comparable accuracy to other leading systems. The system uses a novel indexing scheme based on the Burrows-Wheeler transform (BWT) and the Ferragina-Manzini (FM) index, optimized specifically for the metagenomic classification problem. Centrifuge requires a relatively small index (e.g., 4.3 GB for ~4,100 bacterial genomes) yet provides very fast classification speed, allowing it to process a typical DNA sequencing run within an hour. Together these advances enable timely and accurate analysis of large metagenomics data sets on conventional desktop computers.

To fix this problem, we can install more using the command below.

sudo apt-get -y install centrifuge

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install centrifuge.

sudo apt -y install centrifuge

Or if you have aptitude installed you can use the following command.

sudo aptitude install centrifuge

Summary

In this tutorial we learn how to fix centrifuge-compress command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.