batmand command not found

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

Introduction

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

batmand: command not found

or when using sudo you get the following error message

sudo: batmand: command not found

Solutions to batmand: command not found

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

In Ubuntu batmand is provided by batmand package.

batmand is:

B.A.T.M.A.N. (better approach to mobile ad-hoc networking) is a new routing protocol for multi-hop ad-hoc mesh networks.

The approach of the B.A.T.M.A.N algorithm is to divide the knowledge about the best end-to-end paths between nodes in the mesh to all participating nodes. Each node perceives and maintains only the information about the best next hop towards all other nodes. Thereby the need for a global knowledge about local topology changes becomes unnecessary. Additionally, an event-based but timeless flooding mechanism prevents the accruement of contradicting topology information and limits the amount of topology messages flooding the mesh. The algorithm is designed to deal with networks that are based on unreliable links.

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

sudo apt-get -y install batmand

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

You can also use apt command to install batmand.

sudo apt -y install batmand

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

sudo aptitude install batmand

Summary

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