bp_pairwise_kaks command not found

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

Introduction

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

bp_pairwise_kaks: command not found

or when using sudo you get the following error message

sudo: bp_pairwise_kaks: command not found

Solutions to bp_pairwise_kaks: command not found

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

In Ubuntu bp_pairwise_kaks is provided by libbio-tools-phylo-paml-perl package.

libbio-tools-phylo-paml-perl is:

This distribution provides a Perl interface to PAML, a suite of programs (baseml, codeml, evolver, and yn00) for phylogenetic analyses of DNA or protein sequences using maximum likelihood.

The Bio::Tools::Run::Phylo::PAML::* modules provide an interface to run the PAML programs while Bio::Tools::Phylo::PAML provides an interface to parse their output files.

This distribution is part of the Bioperl project.

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

sudo apt-get -y install libbio-tools-phylo-paml-perl

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

You can also use apt command to install libbio-tools-phylo-paml-perl.

sudo apt -y install libbio-tools-phylo-paml-perl

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

sudo aptitude install libbio-tools-phylo-paml-perl

Summary

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