How To Install mrd6 on Debian 9

In this tutorial we learn how to install mrd6 on Debian 9. mrd6 is IPv6 Multicast Routing Daemon

Introduction

In this tutorial we learn how to install mrd6 on Debian 9.

What is mrd6

mrd6 is:

mrd6 is a modular IPv6 Multicast Routing Daemon which implements:

  • MLDv1 and MLDv2 support
    • MLD proxying
  • PIM-SM (ASM and SSM)
    • Bootstrap (BSR) Mechanism support
    • Static RP configuration
    • Embedded-RP support (RFC 3956)
  • partial MBGP support
    • Implements basic BGP4 mechanisms (IPv6 Multicast SAFI) to update local MRIB from MBGP info
    • Uses IPv6 Multicast SAFI prefixes announced by peers to update local MRIB
    • Is able to announce local prefixes
    • Filter support
  • Supports both native and virtual (tunnel) interfaces (tested IPv6-IPv4, IPv6-IPv6 and TUN/TAP tunnels)
  • Abstract Forwarding Interface (MFA) with user-space module
  • Remote configuration and online administration

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

Install mrd6 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install mrd6

Install mrd6 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install mrd6 using apt by running the following command:

sudo apt -y install mrd6

Install mrd6 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install mrd6

How To Uninstall mrd6 on Debian 9

To uninstall only the mrd6 package we can use the following command:

sudo apt-get remove mrd6

Uninstall mrd6 And Its Dependencies

To uninstall mrd6 and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove mrd6

Remove mrd6 Configurations and Data

To remove mrd6 configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge mrd6

Remove mrd6 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge mrd6

Dependencies

mrd6 have the following dependencies:

References

Summary

In this tutorial we learn how to install mrd6 package on Debian 9 using different package management tools: apt, apt-get and aptitude.