How to install libusb in Ubuntu

今天在Ubuntu系统上安装cgminer开启icarus和avalon设备的支持,提示如下错误信息:

configure: error: Could not find usb library – please install libusb-1.0

只要执行如下命令安装 libusb-dev即可!

sudo apt-get install libusb-dev

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