Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Setting up a linux wallet?  (Read 472 times)

0 Members and 1 Guest are viewing this topic.

Offline bitAndy

  • Full Member
  • ***
  • Posts: 67
    • View Profile
Setting up a linux wallet?
« on: January 13, 2015, 06:22:42 AM »

I've just installed Lubuntu 14.10 onto a 32 bit laptop. It's the first time I've ever used Linux, are there step by step instructions on how to compile the wallet?

I've looked at Arhag's thread on compiling a wallet but pretty much all of it is going over my head. https://bitsharestalk.org/index.php?topic=5951.0

Should I learn the basics on compiling before I start this kind of task?

Offline yak

Re: Setting up a linux wallet?
« Reply #1 on: January 13, 2015, 03:28:11 PM »
have you followed these yet?
https://github.com/BitShares/bitshares/blob/master/BUILD_UBUNTU.md

if you need anymore help lemme know

Offline fundomatic

  • Full Member
  • ***
  • Posts: 149
    • View Profile
Re: Setting up a linux wallet?
« Reply #2 on: January 13, 2015, 06:54:45 PM »
I used these instructions

wiki.bitshares.org/index.php/Developer/Build

to install core client (command line interface).

There are instructions to install GUI client (wallet) too.

38PTSWarrior

  • Guest
Re: Setting up a linux wallet?
« Reply #3 on: January 13, 2015, 07:11:48 PM »
For me this UBUNTU_BUILD.md worked:

These instructions worked on a fresh Ubuntu 14.04 LTS image.

    sudo apt-get update
    sudo apt-get install cmake git libreadline-dev uuid-dev g++ libdb++-dev libdb-dev zip libssl-dev openssl build-essential python-dev autotools-dev libicu-dev libbz2-dev libboost-dev libboost-all-dev
    git clone https://github.com/BitShares/bitshares.git
    cd bitshares
    git submodule init
    git submodule update
    cmake .
    make

For the Qt Wallet, some extra steps are required:

   sudo apt-get install npm qt5-default libqt5webkit5-dev qttools5-dev qttools5-dev-tools nodejs-legacy
   cd bitshares
   cmake -DINCLUDE_QT_WALLET=ON .
   cd programs/web_wallet
   sudo npm install -g lineman
   npm install
   cd -
   make buildweb
   make BitShares

By default, the web wallet will not be rebuilt even after pulling new changes. To force the web wallet to rebuild, use `make forcebuildweb`.

The binary will be located at programs/qt_wallet/BitShares
The wallet can be installed as a local application capable of handling xts: URLs like so:

   sudo cp programs/qt_wallet/bin/BitShares /usr/local/bin/
   sudo mkdir -p /usr/local/share/icons/
   sudo cp programs/qt_wallet/images/qtapp80.png /usr/local/share/icons/BitShares.png
   sudo cp programs/qt_wallet/BitShares.desktop /usr/local/share/applications/


The instructions in the wiki somehow are different because when you copy/paste this :
sudo apt-get update
sudo apt-get install cmake git libreadline-dev uuid-dev g++ libdb++-dev \
      libdb-dev zip libssl-dev openssl build-essential python-dev autotools-dev \
      libicu-dev libbz2-dev libboost-dev libboost-all-dev zlib1g-dev

...it looks different in the terminal than with the UBUNTU_BUILD from the top of my posting.

Edit: Once it works please let me know if you can start it again after clicking "Quit" and it closes without errors. In case it will show an error, you can delete the config.json file. It could be that it will start downloading blocks from zero after you restart. If this happens, please let us know thank you
« Last Edit: January 13, 2015, 07:14:48 PM by 38PTSWarrior »

Offline yak

Re: Setting up a linux wallet?
« Reply #4 on: January 13, 2015, 08:18:54 PM »
those two commands are nearly identical, only difference is the second one also installs zlib1g-dev
the use of \'s is just to make it more human readable on a console without scrolling sideways

38PTSWarrior

  • Guest
Re: Setting up a linux wallet?
« Reply #5 on: January 13, 2015, 08:57:47 PM »
I didn*t see that  zlib1g-dev is missing in the wiki. I definitely needed  zlib1g-dev to make it work.

Offline islandking

  • Sr. Member
  • ****
  • Posts: 378
  • The king of the island
    • View Profile
Re: Setting up a linux wallet?
« Reply #6 on: January 13, 2015, 10:11:15 PM »
You can install and compile the client with the commands here:
https://github.com/BitShares/bitshares/blob/master/BUILD_UBUNTU.md

Just make sure you compile the right version. The next version is coming out tomorrow so you may want to wait for the new release of 0.5
I've been working on a new electronic cash system that's fully peer-to-peer, with no trusted third party. - Satoshi

Offline bitAndy

  • Full Member
  • ***
  • Posts: 67
    • View Profile
Re: Setting up a linux wallet?
« Reply #7 on: January 14, 2015, 02:27:48 AM »
Thank you so much for all your instructions & links guys! I have a lot to learn with Linux!

I'll wait till tomorrow for the new version & have a go setting up!

gabes

  • Guest
Re: Setting up a linux wallet?
« Reply #8 on: January 19, 2015, 05:23:39 PM »
Hi recently I got into troubles buliding the QT wallet here: https://bitsharestalk.org/index.php?topic=13427.0
And now I found this thread with the same bug I described above, the corrupted config.json after running the app.
If you know how to treat this, please let me know.



 

Google+