How To Install smcroute on Debian 10

Learn how to install smcroute on Debian 10 with this tutorial. smcroute is static multicast router daemon

Introduction

In this tutorial we learn how to install smcroute on Debian 10.

What is smcroute

smcroute is:

SMCRoute is a daemon and command line tool to manipulate the multicast routing table of a UNIX kernel. It can be used as an alternative to dynamic multicast routers like pimd, mrouted, quagga-pimd, or xorp in situations where static multicast routes should be maintained and/or no proper IGMP signaling exists.

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

Install smcroute Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install smcroute

Install smcroute Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install smcroute

Install smcroute 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 smcroute using aptitude by running the following command:

sudo aptitude -y install smcroute

How To Uninstall smcroute on Debian 10

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

sudo apt-get remove smcroute

Uninstall smcroute And Its Dependencies

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

sudo apt-get -y autoremove smcroute

Remove smcroute Configurations and Data

To remove smcroute configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge smcroute

Remove smcroute configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge smcroute

Dependencies

smcroute have the following dependencies:

References

Summary

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