megan command not found

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

Introduction

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

megan: command not found

or when using sudo you get the following error message

sudo: megan: command not found

Solutions to megan: command not found

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

In Ubuntu megan is provided by megan-ce package.

megan-ce is:

MEGAN Community Edition is a shotgun sequencer to analyze microbiome samples. It is a rewrite and extension of the widely-used microbiome analysis tool MEGAN so as to facilitate the interactive analysis of the taxonomic and functional content of very large microbiome datasets. Other new features include a functional classifier called InterPro2GO, gene-centric read assembly, principal coordinate analysis of taxonomy and function, and support for metadata. By integrating MEGAN CE with the high-throughput DNA-to-protein alignment tool DIAMOND a powerful and complete pipeline for the analysis of metagenome shotgun sequences can be provided.

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

sudo apt-get -y install megan-ce

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

You can also use apt command to install megan-ce.

sudo apt -y install megan-ce

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

sudo aptitude install megan-ce

Summary

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