smcroutectl command not found

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

Introduction

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

smcroutectl: command not found

or when using sudo you get the following error message

sudo: smcroutectl: command not found

Solutions to smcroutectl: command not found

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

In Ubuntu smcroutectl is provided by smcroute package.

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.

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

sudo apt-get -y install smcroute

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

You can also use apt command to install smcroute.

sudo apt -y install smcroute

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

sudo aptitude install smcroute

Summary

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