iqtree2-omp command not found

In this troubleshooting guide we learn how to fix iqtree2-omp command not found error message

Introduction

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

iqtree2-omp: command not found

or when using sudo you get the following error message

sudo: iqtree2-omp: command not found

Solutions to iqtree2-omp: command not found

How To Fix iqtree2-omp: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu iqtree2-omp is provided by iqtree package.

iqtree is:

IQ-TREE is a very efficient maximum likelihood phylogenetic software with following key features among others:

  • A novel fast and effective stochastic algorithm to estimate maximum likelihood trees. IQ-TREE outperforms both RAxML and PhyML in terms of likelihood while requiring similar amount of computing time (see Nguyen et al., 2015)
  • An ultrafast bootstrap approximation to assess branch supports (see Minh et al., 2013).
  • A wide range of substitution models for binary, DNA, protein, codon, and morphological alignments.
  • Ultrafast model selection for all data types, 10 to 100 times faster than jModelTest and ProtTest.
  • Finding best partition scheme like PartitionFinder.
  • Partitioned models with mixed data types for phylogenomic (multi- gene) alignments, allowing for separate, proportional, or joint branch lengths among genes.
  • Supporting the phylogenetic likelihod library (PLL) (see Flouri et al., 2014)

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

sudo apt-get -y install iqtree

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

You can also use apt command to install iqtree.

sudo apt -y install iqtree

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

sudo aptitude install iqtree

Summary

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