HC Net-core does not have many dependencies.
If core was configured (see below) to work with Postgresql, a local Postgresql server will need to be deployed to the same host.
To install Postgresql, follow instructions from the Postgresql download page .
Ubuntu 18.04 has clang-10 available, that you can install with
# install clang-10 toolchain
sudo apt-get install clang-10
After installing packages, head to the building
with clang and libc++ .
# NOTE: newer version of the compilers are not
# provided by stock distributions
# and are provided by the /test toolchain
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
# common packages
sudo apt-get install git build-essential pkg-config autoconf automake libtool bison
flex libpq-dev libunwind-dev parallel
# if using clang
sudo apt-get install clang-10
# clang with libstdc++
sudo apt-get install gcc-8
# if using g++ or building with libstdc++
# sudo apt-get install gcc-8 g++-8 cpp-8
In order to make changes, you'll need to install the proper version of clang-format.
sudo apt-get install clang-format-10
Follow this steps for installation:
Step : 1
Clone the Hcnet core from Hashcash github
Command :
git clone https://github.com/HashCash-Consultants/hcnet-core.git
--branch
v19.3.0
Step : 2
Go to hcnet-core directory
Command : cd hcnet-core/
Step : 3
Export these files to build
Command :
export CC=clang-10
export CXX=clang++-10
export CFLAGS="-O3 -g1 -fno-omit-frame-pointer"
export CXXFLAGS="$CFLAGS -stdlib=libc++"
Step : 4
sudo apt-get install autoconf automake pkg-config libgtk-3-dev
sudo apt-get install autoconf autogen
sudo apt-get install libgdk-pixbuf2.0-common
sudo apt-get install libtool
Run this command to start autogen
Command : ./autogen.sh
Next Run this command to start configure
Command : ./configure
Next Run this command
Command : make -j6
Now, Your build is ready for the next step Go Setup…
Install go
Step : 1
Download and upload the latest version of go lang tar file for ubuntu linux
Step : 2
Command : sudo tar -xvf go1.19.linux-amd64.tar.gz
Step : 3
Go to Root folder
Open vi .profile file
This file is available in ROOT HOME directory
Command : vi .profile
Step : 4
Add following lines in vi .profile
PATH="$HOME/bin:$HOME/.local/bin:$PATH"
export GOPATH=$HOME/go
export PATH=${GOPATH}/bin:${PATH}
Open vi .bashrc file
This file is available in ROOT HOME directory
vi .bashrc
Add following lines in vi .bashrc:
eval "$(direnv hook bash)"
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
Step : 5
To refresh the files execute following commands:
Command : source ~/.profile
Command : source ~/.bashrc
Now, You are ready for the next step: Aurora Setup…To install Aurora, you have a few choices. You can...
Install Aurora latest version
Once Aurora infrastructur installed, you are ready to configure it. Note that Aurora fulfills three important, distinct roles:
First of all you can use the Hc Net core and aurora latest version both build done then you go through the Captive core.toml file.
Support Agent
*Powered by HashCash