netplugd command not found

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

Introduction

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

netplugd: command not found

or when using sudo you get the following error message

sudo: netplugd: command not found

Solutions to netplugd: command not found

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

In Ubuntu netplugd is provided by netplug package.

netplug is:

This daemon monitors the link status of network cards and configures the network on plug- and un-plug-events.

It’s similar to ifplugd, but uses NETLINK instead of regularly polling the link status. This improves power-consumption with laptops, but does not work with all network card. And it can’t be configured to ignore short unplugged or plugged periods like ifplugd.

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

sudo apt-get -y install netplug

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

You can also use apt command to install netplug.

sudo apt -y install netplug

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

sudo aptitude install netplug

Summary

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