Install wallet for Ubuntu 22.04

This is the written tutorial on how to install Satox wallet for Ubuntu 22.04

The first thing we need to do is to download master branch of the Satoxcoin node onto our computer in the src directory.

( If you do not have Git installed, just run "sudo apt install git" in Terminal.)

$ mkdir src

$ cd src

$ git clone https://github.com/satoverse/satoxcoin.git

$ cd satoxcoin

After you have downloaded the source code, it is time to download all the libraries/dependencies needed before we can compile it. Run this command in Terminal:

$ sudo apt install -y libboost-chrono1.74-dev libboost-filesystem1.74-dev libboost-program-options1.74-dev libboost-system1.74-dev libboost-thread1.74-dev libboost-test1.74-dev build-essential libssl-dev qtbase5-dev qttools5-dev bison libexpat1-dev libdbus-1-dev libfontconfig-dev libfreetype-dev libice-dev libsm-dev libx11-dev libxau-dev libxext-dev libevent-dev libxcb1-dev libxkbcommon-dev libminiupnpc-dev libprotobuf-dev libqrencode-dev xcb-proto x11proto-xext-dev x11proto-dev xtrans-dev zlib1g-dev libczmq-dev autoconf automake libtool protobuf-compiler

Now it is time to compile!

We need Berkeley DB for the node to run.

Make sure you are in the directory "satoxcoin" (/home/$USER/src/satoxcoin)

$ sudo chmod +x contrib/install_db4.sh

$ sudo chmod +x autogen.sh run.sh

$ sudo chmod +x share/genbuild.sh

$ contrib/install_db4.sh ../

$ wget https://gist.githubusercontent.com/darosior/a5d93c6245a32f7a8bed2ac4e33a0011/raw/89c49515febbd55ffb60e4add9d08f299862cde4/install_libdb4.8.sh

$ sudo chmod +x install_libdb4.8.sh

$ sudo ./install_libdb4.8.sh amd64

(This will install libdb4.8)

$ ./autogen.sh

$ export BDB_PREFIX='/home/$USER/src/db4'

(Swap out $USER for your user if you have issues.)

$ ./configure BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" BDB_CFLAGS="-I${BDB_PREFIX}/include" --prefix=/usr/local

$ snap install bitcoin-core

(If you do not have "snap" installed, can be installed by runing: sudo apt install snapd)

$ make -j8

(-j represents the number of your CPU cores) After all this has completed, do this following command to install it in /usr/local/bin folder so we can run it from everywhere. $ sudo make install

And that is it! Open up your satoxcoin-qt and install it accordingly.

Last updated