Introduction to libusb

The libusb package contains a library used by some applications for USB device access.

This package is known to build and work properly using an LFS 7.8-systemd platform.

Package Information

libusb Dependencies



User Notes:

Installation of libusb

Install libusb by running the following commands:

./configure --prefix=/usr --disable-static &&

If Doxygen is installed and you wish to build the API documentation, issue the following command:

make -C doc docs

This package does not come with a test suite.

Now, as the root user:

make install

If you built the API documentation, install it using the following commands as the root user:

install -v -d -m755 /usr/share/doc/libusb-1.0.20/apidocs &&
install -v -m644    doc/html/* \

Configuring Libusb

To access raw USB devices (those not treated as a disk by the mass-storage driver), appropriate support must be available in the kernel. Check your kernel configuration:

Device Drivers --->
  [*] USB support --->                   [CONFIG_USB_SUPPORT]
    <*/M> Support for Host-side USB      [CONFIG_USB]
    (Select any USB hardware device drivers you may need on the same page)

For more details on setting up USB devices, see the section called “USB Device Issues”.


Installed Programs: None
Installed Library:
Installed Directories: /usr/include/libusb-1.0 and /usr/share/doc/libusb-1.0.20

Short Descriptions

contains API functions used for accessing USB hardware.

Last updated on 2015-10-05 17:42:29 -0500