Add buld steps for Ubuntu
authorCryptoManiac <balthazar.ad@gmail.com>
Mon, 20 Dec 2021 19:38:33 +0000 (22:38 +0300)
committerCryptoManiac <balthazar.ad@gmail.com>
Mon, 20 Dec 2021 19:38:33 +0000 (22:38 +0300)
doc/build-ubuntu.txt [new file with mode: 0644]

diff --git a/doc/build-ubuntu.txt b/doc/build-ubuntu.txt
new file mode 100644 (file)
index 0000000..d2ebf0b
--- /dev/null
@@ -0,0 +1,49 @@
+# Building GUI and headless client for Ubuntu Linux
+
+## Preparations
+
+First step, install all dependencies:
+
+    ```sudo apt install build-essential libdb++-dev libssl-dev cmake qtdeclarative5-dev qttools5-dev libboost-all-dev libpng-dev git```
+
+Then, clone repository recursively:
+
+    ```git clone --recursive https://github.com/novacoin-project/novacoin```
+
+## Building GUI client
+
+Create build directory:
+
+    ```mkdir build_qt && cd build_qt```
+
+Configure build files:
+
+    ```cmake -DUSE_LEVELDB ../novacoin```
+
+You may specify BDB library path, if necessary:
+
+    ```cmake -DBerkeleyDB_LIBS=/usr/lib/aarch64-linux-gnu/ -DUSE_LEVELDB ../novacoin```
+
+Compile:
+
+    ```make -j 4```
+
+After everything will be done the resulting ```novacoin-qt``` executable will be created in your build directory.
+
+## Building headless client
+
+It's almost identical to steps for GUI client.
+
+Create build directory:
+
+    ```mkdir build_daemon && cd build_daemon```
+
+Configure build files:
+
+    ```cmake -DUSE_LEVELDB ../novacoin/src```
+
+Compile:
+
+    ```make -j 4```
+
+The resulting ```novacoind``` executable will be created in the build directory.