megahit_core command not found

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

Introduction

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

megahit_core: command not found

or when using sudo you get the following error message

sudo: megahit_core: command not found

Solutions to megahit_core: command not found

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

In Ubuntu megahit_core is provided by megahit package.

megahit is:

Megahit is an ultra-fast and memory-efficient NGS assembler. It is optimized for metagenomes, but also works well on generic single genome assembly (small or mammalian size) and single-cell assembly.

The software was praised in a Briefings in Bioinformatics 5/2020 review (DOI: 10.1093/bib/bbaa085).

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

sudo apt-get -y install megahit

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

You can also use apt command to install megahit.

sudo apt -y install megahit

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

sudo aptitude install megahit

Summary

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