Tutorial How to compile the XTRABYTES wallet on Ubuntu/Debian

Discussion in 'Manuals / Tutorials' started by XTRABYTES, Nov 3, 2017.

Thread Status:
Not open for further replies.
  1. XTRABYTES

    XTRABYTES Well-Known Member

    Messages:
    244
    Likes Received:
    259
    Trophy Points:
    63
    XTRABYTES Qt Wallet GUI Compilation Guide


    Building the XTRABYTES wallet on Ubuntu/Debian

    This is a guide for compiling the XTRABYTES wallet using Linux. By following this guide, you will be able to create a GUI wallet directly from the source code.


    Requirements

    The basic requirements for wallet compilation:

    Linux (Ubuntu or Debian-based distribution is prefered but any other Linux distro can be used)

    32 or 64-bit

    It is recommended to have at least 1 GB of memory available when compiling the XTRABYTES wallet. Compilation will take much longer with 512 MB of memory or less.


    Getting started

    You need to make sure your Linux machine is up to date. Open a terminal window by clicking the right side mouse button and choosing Open Terminal while in the Desktop.

    [​IMG]

    In the terminal window type:
    Code:
    sudo apt-get update (press Y to update)
    
    sudo apt-get upgrade (press Y to upgrade)
    [​IMG]

    Note: Every time you issue a command using sudo, it will ask you for your password. It will not be visible while you type it. Press enter once you finish typing it.

    It might take a few minutes to update/upgrade.


    Install the dependency packages

    Sometimes it is necessary to install extra libraries and dependency packages or simply to update them. Using the terminal window, type:
    Code:
    sudo apt-get install qt5-default qt5-qmake qtbase5-dev-tools qttools5-dev-tools build-essential libssl-dev libdb++-dev libboost-all-dev libqrencode-dev libminiupnpc-dev
    Accept any installation or update prompt by pressing the Y key.


    Download the XTRABYTES source code

    You can download the source code directly to your Desktop. It will automatically create a xtrabytes folder.
    Code:
    cd Desktop
    
    git clone https://github.com/borzalom/xtrabytes.git
    [​IMG]


    Final stage - Compilation

    You are now ready to compile the wallet. You need to enter the directory where the source code was copied to, in this case the xtrabytes folder:
    Code:
    cd Desktop
    
    git clone https://github.com/borzalom/xtrabytes.git
    [​IMG]

    And:
    Code:
    make -f Makefile
    You will see something like this being displayed. Wait until the process is finished.

    [​IMG]

    Once the wallet has been successfully compiled, you will be able to run it.


    An alternate way to compile the wallet

    This is an alternate way to compile the wallet. Follow all the above steps but instead of typing qmake xtrabytes-qt.pro and make -f Makefile, use the following command:
    Code:
    qmake && make
    [​IMG]

    Once it is done type:
    Code:
    chmod +x xtrabytes-qt
    [​IMG]

    Note: Though not necessary, this command makes the file executable.


    Running the wallet

    To run the wallet simply type:
    Code:
    ./xtrabytes-qt
    [​IMG]

    You now have a fully functional wallet. Enjoy!

    [​IMG]


    Info

    XTRABYTES Core downloads and stores the entire history of XTRABYTES transactions; depending on the speed of your computer and network connection, the synchronization process can take anywhere from 15 minutes to a few hours or more.


    Credits to: jcpbs
     
    Last edited by a moderator: Jan 10, 2018
    enki and fish313 like this.
Thread Status:
Not open for further replies.

Share This Page