How To Install olsrd-plugins on Ubuntu 18.04

In this tutorial we learn how to install olsrd-plugins on Ubuntu 18.04. olsrd-plugins is various plugins to enhance olsrd

Introduction

In this tutorial we learn how to install olsrd-plugins on Ubuntu 18.04.

What is olsrd-plugins

olsrd-plugins is:

olsrd is an implementation of the Optimized Link State Routing protocol for Mobile Ad-Hoc networks(MANET)

The following plugins are available:

  • httpinfo - tiny webserver for information purposes
  • dyn_gw - dynamically announce uplinks
  • dot_draw - generates output (over a TCP socket) in the dot format
  • secure - secure OLSR routing with a shared key
  • nameservice - announce hostnames and dns servers
  • bmf - basic multicast forwarding
  • quagga - import external routes from quagga
  • txtinfo - display information about the OSLR node

The following plugins are also included, even though experimental and demo plugins:

  • pgraph - performance graph
  • watchdog - detection of olsrd freeze
  • tas - tiny application server
  • mini - minimal example plugin (demo)
  • dyn_gw_plain - dyn_gw without ping/libthread
  • arprefresh - optimize kernel arp cache from olsr UDP sniffing
  • mdnsp - multicast DNS via OLSR mesh network
  • p2pd - distribute P2P Discovery messages

There are three methods to install olsrd-plugins on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install olsrd-plugins Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install olsrd-plugins using apt-get by running the following command:

sudo apt-get -y install olsrd-plugins

Install olsrd-plugins Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install olsrd-plugins using apt by running the following command:

sudo apt -y install olsrd-plugins

Install olsrd-plugins Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install olsrd-plugins using aptitude by running the following command:

sudo aptitude -y install olsrd-plugins

How To Uninstall olsrd-plugins on Ubuntu 18.04

To uninstall only the olsrd-plugins package we can use the following command:

sudo apt-get remove olsrd-plugins

Uninstall olsrd-plugins And Its Dependencies

To uninstall olsrd-plugins and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove olsrd-plugins

Remove olsrd-plugins Configurations and Data

To remove olsrd-plugins configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge olsrd-plugins

Remove olsrd-plugins configuration, data, and all of its dependencies

We can use the following command to remove olsrd-plugins configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge olsrd-plugins

References

Summary

In this tutorial we learn how to install olsrd-plugins package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.