...
Linux cgminer build steps
...
Debian 8.7.1 new install.
Default Install (No desktop environment, + SSH Server)
(*do not specify root password to enable sudo)
or
Raspbian - Kernel version: 4.4 (Raspberry Pi)
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y build-essential git libusb-1.0-0-dev libusb-1.0-0 libcurl4-openssl-dev libncurses5-dev libudev-dev screen libtool automake pkg-config libjansson-dev
mkdir -p git/vthoang; cd git/vthoang
git clone https://github.com/vthoang/cgminer.git
cd cgminer
CFLAGS="-O2" ./autogen.sh --enable-gekko
make -j 2
...
@vh These instructions worked fine for the BeagleBone Black on the Debian 9.4 2018-06-17 4GB SD IoT image.