khmer command not found

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

Introduction

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

khmer: command not found

or when using sudo you get the following error message

sudo: khmer: command not found

Solutions to khmer: command not found

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

In Ubuntu khmer is provided by khmer package.

khmer is:

khmer is a library and suite of command line tools for working with DNA sequence. It is primarily aimed at short-read sequencing data such as that produced by the Illumina platform. khmer takes a k-mer-centric approach to sequence analysis, hence the name.

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

sudo apt-get -y install khmer

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

You can also use apt command to install khmer.

sudo apt -y install khmer

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

sudo aptitude install khmer

Summary

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