autodock4 command not found

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

Introduction

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

autodock4: command not found

or when using sudo you get the following error message

sudo: autodock4: command not found

Solutions to autodock4: command not found

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

In Ubuntu autodock4 is provided by autodock package.

autodock is:

AutoDock is a prime representative of the programs addressing the simulation of the docking of fairly small chemical ligands to rather big protein receptors. Earlier versions had all flexibility in the ligands while the protein was kept rather ridgid. This latest version 4 also allows for a flexibility of selected sidechains of surface residues, i.e., takes the rotamers into account.

The AutoDock program performs the docking of the ligand to a set of grids describing the target protein. AutoGrid pre-calculates these grids.

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

sudo apt-get -y install autodock

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

You can also use apt command to install autodock.

sudo apt -y install autodock

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

sudo aptitude install autodock

Summary

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