egctl command not found

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

Introduction

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

egctl: command not found

or when using sudo you get the following error message

sudo: egctl: command not found

Solutions to egctl: command not found

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

In Ubuntu egctl is provided by egctl package.

egctl is:

program to control the state of EnerGenie Programmable surge protector with LAN interface. It uses native EG-PMS-LAN data exchange protocol version 2.0 or 2.1, not HTTP.

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

sudo apt-get -y install egctl

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

You can also use apt command to install egctl.

sudo apt -y install egctl

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

sudo aptitude install egctl

Summary

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