fastaq command not found

In this troubleshooting guide we learn how to fix fastaq command not found error message

Introduction

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

fastaq: command not found

or when using sudo you get the following error message

sudo: fastaq: command not found

Solutions to fastaq: command not found

How To Fix fastaq: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu fastaq is provided by fastaq package.

fastaq is:

Fastaq represents a diverse collection of scripts that perform useful and common FASTA/FASTQ manipulation tasks, such as filtering, merging, splitting, sorting, trimming, search/replace, etc. Input and output files can be gzipped (format is automatically detected) and individual Fastaq commands can be piped together.

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

sudo apt-get -y install fastaq

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

You can also use apt command to install fastaq.

sudo apt -y install fastaq

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

sudo aptitude install fastaq

Summary

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