How to build ethyxcoin

Go the home directory

cd ~

Ensure that the system is up to date

sudo apt-get update

Install essential components

sudo apt-get install build-essential

sudo apt-get install autoconf libtool pkg-config libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libevent-dev libqt4-dev libcanberra-gtk-module libdb++-dev

Create and go to the folder Guthub

mkdir Github 

cd Github 

Navigate to the Github link below:

Clone ethyxcoin repository

Insert in the command line:

Personal access token:  follow the instruction how to generate personal access token

https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token

Install BerkeleyDB

Download the source code of BerkeleyDB

Unzip the file

tar -xvf db-4.8.30.NC.tar.gz

Change and enter the build directory

cd db-4.8.30.NC/build_unix

set the environment Variable

BDB_PREFIX=$(pwd)/Github

Change and enter the build directory

cd db-4.8.30.NC/build_unix

Setup the configuration

../dist/configure --disable-shared --enable-cxx --with-pic --prefix=$BDB_PREFIX

sudo make install

Provide full access for directory

chmod -R 777 ethyxcoin/

Go to ethyxcoin folder

cd ethyxcoin/

Build the Coin

./autogen.sh

./configure CPPFLAGS="-I${BDB_PREFIX}/include/ -O2" LDFLAGS="-L${BDB_PREFIX}/lib/"

make

Start the ethyxcoin

Go to ethyxcoin src folder

cd src/

Start server

./ethyxcoind