NanoStat command not found

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

Introduction

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

NanoStat: command not found

or when using sudo you get the following error message

sudo: NanoStat: command not found

Solutions to NanoStat: command not found

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

In Ubuntu NanoStat is provided by nanostat package.

nanostat is:

NanoStat calculates various statistics from a long read sequencing dataset in fastq, bam or albacore sequencing summary format. It is meant to augment pipelines for the interpretation of long DNA sequences as generated with the Nanopore.

This package provides the executable NanoStat.

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

sudo apt-get -y install nanostat

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

You can also use apt command to install nanostat.

sudo apt -y install nanostat

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

sudo aptitude install nanostat

Summary

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