Make sure make, openssl, libssl and c++ components are installed before running the build.

Ubuntu

On Ubuntu, this can be done with the following commands to install the required dependencies:

sudo apt install make
sudo apt install g++
sudo apt install openssl
sudo apt install libssl-dev

CentOS and Red Hat

On CentOS or Red Hat, use the following commands to install the required dependencies:

sudo yum install make
sudo yum install gcc-c++
sudo yum install openssl
sudo yum install openssl-devel

macOS

On macOS, the openssl dependency can be installed by running the following from the command line. You must have Homebrew installed first.

brew install openssl

Make

To build and install utilities you will need to run the following from the command line:

cd linux-and-osx\swrng
make
sudo make install

Non-root access on Linux

To enable a non-root user to access the AlphaRNG device, simply copy the supplied 85-alpharng-usb-access.rules file to /etc/udev/rules.d/ location.