How to Install or Uninstall batmand on Ubuntu 22.04

Updated: September 18, 2022

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. In this guide, I will show you how to install batmand on Ubuntu 22.04.

Prerequisites

  • Operating system: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Make sure that you can run the sudo commands line.

Prerequisites to install batmand on Ubuntu 22.04

Install batmand Ubuntu 22.04

batmand is one of the popular ways on Ubuntu now so that this tutorial will show you how to install it in various ways. Choose the one that you think is easy and you can follow.

Install batmand using APT

This is one of the most popular methods for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to install batmand on your Ubuntu 22.04.

Step 1: Obtain new packages from Ubuntu by updating the APT database. Opening the terminal and executing this Linux command:

sudo apt update

Step 2: Start installing the packages on Ubuntu 22.04. After updating, you can install batmand Ubuntu by executing this command in the terminal.

sudo apt -y install batmand

Install batmand using Aptitude

Users can manage their installation, upgrade, and removal of packages with Aptitude and view a list of the packages that are currently available. If you haven’t already installed it on Ubuntu, run this command to do so.

sudo apt-get install aptitude

After installing, you can now install batmand, just following these steps:

Step 1: The APT package repository cache needs to be updated before you try to install, update, or remove any packages. Update the APT database to download new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt-get update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can now install batmand Ubuntu by pasting this command into the terminal and pressing Enter.

sudo aptitude -y install batmand

Uninstall batmand on Ubuntu 22.04

Have you ever considered how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone, not just package administrators, can easily uninstall any program.

This command can be used to uninstall batmand from Ubuntu 22.04 if it was installed using APT or Aptitude.

sudo apt remove --auto-remove batmand

You can also execute this command if you want to uninstall batmand and remove its data and dependencies:

sudo apt autoremove --purge batmand

Ending

In this tutorial, I showed you ways to install batmand on Ubuntu 22.04 and some ways to uninstall batmand too. Please do not hesitate to contact me if you require any assistance. I’m delighted to respond to them.