> For the complete documentation index, see [llms.txt](https://docs.satoverse.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.satoverse.io/docs/support-satox/install-wallet-for-ubuntu-22.04.md).

# Install 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.&#x20;
>
> ( *If you do not have Git installed*, just run "**sudo apt install git**" in Terminal.)

{% hint style="info" %}
$ mkdir src

$ cd src

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

$ cd satoxcoin
{% endhint %}

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:**

{% hint style="info" %}
$ 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
{% endhint %}

## Now it is time to compile!

We need **Berkeley DB** for the node to run.&#x20;

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

{% hint style="info" %}
$ 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&#x20;

**(This will install libdb4.8)**

$ ./autogen.sh

$ export BDB\_PREFIX='/home/$USER/src/db4' &#x20;

**(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&#x20;

**(-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
{% endhint %}

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