Compile and run the electroneumd under Debian/Ubuntu

Hi, im wondering if anyone could point me in the right direction to a “how to” step by step on how to get the elecroneumd set up within Ubuntu or any Debian based Linux distro.

Sorry in advance if there is already one posted here but i cant seem to find it.


1 Like

Hi Brett,

Is there anything specific you’re having trouble with? Do you already have the blockchain sync’d??

1 Like

Yes… im getting stuck at…

Build instructions

Electroneum uses the CMake build system and a top-level Makefile that invokes cmake commands as needed.

On Linux and macOS

  • Install the dependencies
  • Change to the root of the source code directory, change to the most recent release branch, and build:
  cd electroneum

Is there a reason you want to compile from source rather than use the pre-compiled binaries?

To use the pre-compiles ones, it’s just a download of the tar file, decompress and make whatever files you need executeable

Thanks, the electroneum-release-static-ubuntu_16-x86_64- fixed my problems
Running an updated full node again :+1:
(missing libnorm-dev error is gone)

rsknor@apex ~/electroneum-release-static-x86_64-ubuntu16_04-v3.1.1.0 $ ./electroneumd
2020-02-03 07:51:10.449 I Electroneum 'Proof of Responsibility' (v3.1.0.0-2fb3cb145)
2020-02-03 07:51:10.449 I Initializing cryptonote protocol...
2020-02-03 07:51:10.449 I Cryptonote protocol initialized OK
2020-02-03 07:51:10.450 I Initializing p2p server...
2020-02-03 07:51:12.949 I p2p server initialized OK
2020-02-03 07:51:12.950 I Initializing core RPC server...
2020-02-03 07:51:12.950 I Binding on
2020-02-03 07:51:12.950 I Generating SSL certificate
2020-02-03 07:51:13.134 I core RPC server initialized OK on port: 26968
2020-02-03 07:51:13.134 I Initializing core...
2020-02-03 07:51:13.134 I Loading blockchain from folder /home/rsknor/.electroneum/lmdb ...
2020-02-03 07:51:13.137 I Migrating blockchain from DB version 1 to 2 - this may take a while:
1 Like

Good stuff.

How long did it take for your DB to convert from v1 to v2? And are you using a spinning disc or SSD?

Did you need to separately install the libnorm-dev package? I needed to but there was a thread about it already on github

SSD, db V1 --> V4 (or was it 5?) took like less than 1 hour I guess
My main gentoo system is running BTRFS, but db-performance (RAM intensive) suck using that filesystem, so for lmdb I’m using a good old EXT2 partition :smiley:

UUID=“feblahblahblah” /home/rsknor/.electroneum/lmdb ext2 user,auto,async,noatime

I really don’t know what the libnorm package is, there is no mention of it it the entire gentoo community for the past years. It’s somehow possible to build ZeroMQ with optional libnorm support. The static Ubuntu_16 version worked for me, it had no libnorm dependency built-in

Community Terms | Main Terms & Conditions | Privacy Policy | Support Tickets | Main Website