uhubctl command not found

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

Introduction

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

uhubctl: command not found

or when using sudo you get the following error message

sudo: uhubctl: command not found

Solutions to uhubctl: command not found

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

In Ubuntu uhubctl is provided by uhubctl package.

uhubctl is:

Utility to control USB power per-port on smart USB hubs. Smart hub is defined as one that implements per-port power switching.

Original idea for this code was inspired by hub-ctrl.c by Niibe Yutaka: http://www.gniibe.org/development/ac-power-control-by-USB-hub

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

sudo apt-get -y install uhubctl

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

You can also use apt command to install uhubctl.

sudo apt -y install uhubctl

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

sudo aptitude install uhubctl

Summary

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