Jump to content
News Ticker

Guide - Building XAYA on Ubuntu


Recommended Posts



Building XAYA:

on 18.04 (and probably earlier)

open a terminal :

make sure everything is up to date 

sudo apt-get update
sudo apt-get upgrade

install dependencies

sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils python3 libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev

also install berklydb 4.8 - easiest way is via bitcoin repository

sudo apt-get install software-properties-common

sudo add-apt-repository ppa:bitcoin/bitcoin 

(if it comes up with a warning press enter to continue)

sudo apt-get update


install db4.8 + more stuff

sudo apt-get install git libdb4.8-dev libdb4.8++-dev libminiupnpc-dev libzmq3-dev libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler libqrencode-dev libboost-program-options-dev
git clone https://github.com/xaya/xaya
cd xaya
git checkout 1.3

here you can add -jX where x is the number of cores on your computer, this speeds up building.

make -j2
sudo make install

you will now be able to run the binaries from any folder by just typing in a terminal.

To run XAYA QT :


or you can run the daemon or use the cli with 




tested working on a fresh ubuntu 18.04 in a VM

  • Thanks 2
Link to comment
Share on other sites

  • snailbrain pinned this topic
  • 2 weeks later...
  • Sphinx

nice guide, but it does not save the cookie file ... I tryed everything, the generator from /share/... even with config file setting rpcusername and rpcpassword

If I try with the rpcauth from generator I can see a "using invalid password" message in the logs ... same with rpcuser and pw -.-

Linux Ubuntu 16.04
QT working fine and xayad too

I think I miss something


Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

Your use of this site is governed by our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.