swarm command not found

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

Introduction

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

swarm: command not found

or when using sudo you get the following error message

sudo: swarm: command not found

Solutions to swarm: command not found

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

In Ubuntu swarm is provided by swarm package.

swarm is:

The purpose of swarm is to provide a novel clustering algorithm to handle large sets of amplicons. Traditional clustering algorithms results are strongly input-order dependent, and rely on an arbitrary global clustering threshold. swarm results are resilient to input-order changes and rely on a small local linking threshold d, the maximum number of differences between two amplicons. swarm forms stable high-resolution clusters, with a high yield of biological information.

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

sudo apt-get -y install swarm

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

You can also use apt command to install swarm.

sudo apt -y install swarm

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

sudo aptitude install swarm

Summary

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