Skip to content

Commit 99b2955

Browse files
Update dependencies.sh
1 parent 2553ba0 commit 99b2955

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

unix/BTH/dependencies.sh

+38
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,41 @@
1+
# Update system
2+
sudo apt-get update -y
3+
4+
# Install git
5+
sudo apt-get install git -y
6+
7+
# boostlib
8+
sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev -y
9+
10+
# open ssl
11+
sudo apt-get install libssl-dev -y
12+
13+
# libevent
14+
sudo apt-get install libevent-dev -y
15+
16+
# cURL and LibTools
17+
sudo apt-get install curl git build-essential libtool autotools-dev -y
18+
19+
# Setup python3 other utils
20+
sudo apt-get install automake pkg-config bsdmainutils python3 -y
21+
22+
# Libx11
23+
sudo apt-get install libx11-xcb-dev libfontconfig-dev -y
24+
25+
# Install Libsodium
26+
wget https://download.libsodium.org/libsodium/releases/LATEST.tar.gz
27+
tar -xf LATEST.tar.gz
28+
rm -rf LATEST.tar.gz
29+
cd libsodium-stable/
30+
./configure
31+
make && make check
32+
sudo make install
33+
cd ..
34+
rm -rf libsodium-stable
35+
sudo ln -s /usr/local/lib/libsodium.so.23 /usr/lib/libsodium.so.23
36+
37+
# Install unzip
38+
sudo apt-get install unzip -y
139

240

341
sudo add-apt-repository ppa:bitcoin/bitcoin

0 commit comments

Comments
 (0)