NewPac Setup Linux/ Raspberry Pi

Preparation, Package Dependencies, Configuration and Build for Raspbian – Kernel version: 4.4 (Debian 8.7.1) or higher of for Ubuntu 16.04.1 LTS or higher


This installation guide describes setup, configuration and build based on a freshly installed Raspbian (Debian) or Ubuntu installation. You will need sudo rights. It’s not necessary to use root.

First steps: update and upgrade of system and reqired packages:

sudo apt-get update

sudo apt-get upgrade -y

sudo apt-get install -y build-essential git autoconf automake libtool pkg-config libcurl4-openssl-dev libudev-dev libusb-1.0-0-dev libncurses5-dev

Now you can clone the GekkoScience CGMiner branch from GIT:

mkdir -p mining/newpac; cd mining/newpac

git clone

cd cgminer

After successful cloning you can start to build CGMiner:

CFLAGS="-O2" ./ --enable-gekko

make -j 2

The build command for Ubuntu 16.04.1 LTS (or higher) is slightly different:

CFLAGS="-O2 -march=native" ./ --enable-gekko

make -j 2

Explanation notes: The build parameter –enable-gekko activates the GekkoScience drivers both for Compac (single ASIC) and 2Pac (dual ASIC).

Now test the newly built binary:

./cgminer -n

The following command will start up the CGMiner Software (example):

cd ~/mining/newpac/cgminer


  • Url: stratum+tcp://  (enter if you have  own pool address)(
  • Username: 1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr  (Enter you Wallet id)
  • Password: (any thing you can enter)

Popular posts from this blog

How do I mine a block? (Scrypt/SHA-256/X11)

How do I restore my wallet?

How do I mine a block on Linux? (Scrypt/SHA-256/X11)