dialign2-2 command not found

In this troubleshooting guide we learn how to fix dialign2-2 command not found error message

Introduction

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

dialign2-2: command not found

or when using sudo you get the following error message

sudo: dialign2-2: command not found

Solutions to dialign2-2: command not found

How To Fix dialign2-2: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu dialign2-2 is provided by dialign package.

dialign is:

DIALIGN2 is a command line tool to perform multiple alignment of protein or DNA sequences. It constructs alignments from gapfree pairs of similar segments of the sequences. This scoring scheme for alignments is the basic difference between DIALIGN and other global or local alignment methods. Note that DIALIGN does not employ any kind of gap penalty.

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

sudo apt-get -y install dialign

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

You can also use apt command to install dialign.

sudo apt -y install dialign

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

sudo aptitude install dialign

Summary

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