* New! Latest stable version of OK wallet v7-SpaceMonkey *

Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - pta2002

#1
If you for some reason don't want to install ROKOS, it's not very hard to compile okcashd on your pi. Keep in mind though, it'll take a while.

Please note that this will only install the daemon, not the GUI. This has been tested on a raspberry pi 3 running raspbian jessie.

STEP 1 Update your OS!


$ sudo apt update
$ sudo apt upgrade -y


STEP 2 Install dependencies


$ sudo apt-get install autoconf libevent-dev libtool libssl-dev libboost-all-dev libminiupnpc-dev git -y


STEP 3 Build BDB4.8

OKCash (and most other bitcoin-based cryptocurrencies) require berkeley db 4.8 to build, however, this version is deprecated and not found on most distro's repositories. Fortunately, we can compile it ourselves!


$ wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
$ tar -xzvf db-4.8.30.NC.tar.gz
$ cd db-4.8.30.NC/build_unix/
$ ../dist/configure --enable-cxx
$ make -j4 # If this causes problems, decrease the number
$ sudo make install


STEP 4 Download okcash source


$ cd ~
$ git clone https://github.com/okcashpro/okcash.git
$ cd okcash/src


STEP 5 Compile!


$ make -f makefile.unix -j2 BDB_INCLUDE_PATH=/usr/local/BerkeleyDB4.8/include/


If this fails, remove -j2. If it still fails, ask me. This will take a while (~1h) so take a break.

STEP 6 Install

$ sudo make install

STEP 7 Done!

Feel free to use okcashd now! It has to sync first though, so why not download the okcash bootstrap? https://github.com/okcashpro/ok-scripts/blob/master/linux/ok-sync-arm64.sh