Remove BerkeleyDB support for block index
[novacoin.git] / doc / build-ubuntu.txt
1 # Building GUI and headless client for Ubuntu Linux
2
3 ## Preparations
4
5 First step, install all dependencies:
6
7     ```sudo apt install build-essential libdb++-dev libssl-dev cmake qtdeclarative5-dev qttools5-dev libboost-all-dev libpng-dev libdeflate-dev git```
8
9 Then, clone repository recursively:
10
11     ```git clone --recursive https://github.com/novacoin-project/novacoin```
12
13 ## Building GUI client
14
15 Create build directory:
16
17     ```mkdir novacoin/build_qt && cd novacoin/build_qt```
18
19 Configure build files:
20
21     ```cmake ..```
22
23 You may specify BDB library path, if necessary:
24
25     ```cmake -DBerkeleyDB_LIBS=/usr/lib/aarch64-linux-gnu/ ..```
26
27 Compile:
28
29     ```make -j 4```
30
31 After everything will be done the resulting ```novacoin-qt``` executable will be created in your build directory.
32
33 ## Building headless client
34
35 It's almost identical to steps for GUI client.
36
37 Create build directory:
38
39     ```mkdir novacoin/build_daemon && cd novacoin/build_daemon```
40
41 Configure build files:
42
43     ```cmake ../src```
44
45 Compile:
46
47     ```make -j 4```
48
49 The resulting ```novacoind``` executable will be created in the build directory.