Install usblib package - Ubuntu

Solution 1:

You need to install libusb-1.0-0-dev

To install the package

sudo apt-get install libusb-1.0-0-dev

To find out the dependency of the package use the command apt-cache search libusb-1.0

Here is the output of the command

$ apt-cache search libusb-1.0
libusb-1.0-0 - userspace USB programming library
libusb-1.0-0-dev - userspace USB programming library development files
libusb-ocaml - OCaml bindings to libusb-1.0 (runtime)
libusb-ocaml-dev - OCaml bindings to libusb-1.0

Hope this helps

Solution 2:

You need to download the package libusb-1.0-0-dev, the new libusbx fork.