-
Notifications
You must be signed in to change notification settings - Fork 19
Linux build notes v.1.7 on Ubuntu 22.0
Lennart Lopin edited this page Feb 18, 2024
·
4 revisions
Using Ubuntu 22 LTS 64bit
Supports OpenSSL v.1.1.1 and Boost v.1.71+
sudo apt-get update
sudo apt-get upgrade
Set up core Linux tools
sudo apt-get install git build-essential pkg-config autoconf automake libtool libboost-all-dev libssl-dev
git clone https://github.com/marscoin/marscoin.git
cd ./marscoin
git checkout master-1.7
./autogen.sh
./configure
make
This will build the marscoind node, the marscoin-cli command line interface and marscoin-tx.
wget http://download.oracle.com/berkeley-db/db-4.8.30.zip
unzip db-4.8.30.zip
cd db-4.8.30
cd build_unix/
../dist/configure --prefix=/usr/local --enable-cxx
make
make install
This installs DB4's lib in /usr/local/lib and headers in / usr/local/includes. You can also use this script to install DB4.
Enter the /src/unival folder and build manually
$ ./autogen.sh
$ ./configure
$ make
Install secp256k1 in subdirectory (/src/secp256k1) with:
$ ./autogen.sh
$ ./configure --enable-module-recovery
$ make
$ make check
$ sudo make install