libusb-config command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
libusb-config: command not found
or when using sudo you get the following error message
sudo: libusb-config: command not found
Solutions to libusb-config: command not found
How To Fix libusb-config: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu libusb-config is provided by libusb-dev package.
libusb-dev is:
Library for programming USB applications without the knowledge of Linux kernel internals.
This package contains what you need for compiling sources that use this library in your own code.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libusb-dev
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libusb-dev.
sudo apt -y install libusb-dev
Or if you have aptitude installed you can use the following command.
sudo aptitude install libusb-dev
Summary
In this tutorial we learn how to fix libusb-config command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.