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: Ubuntu GUI how to?  (Read 1947 times)

0 Members and 1 Guest are viewing this topic.

Offline santaclause102

  • Hero Member
  • *****
  • Posts: 2486
    • View Profile
Ubuntu GUI how to?
« on: July 22, 2014, 02:01:54 PM »

System Ubuntu 14.04
I complied bitsharesx.git (hat to increase the swap).
How do I run the GUI wallet in Ubuntu? Do I follow instructions in /qt_wallet/README.md ?
Are there different wallets (webwallet and desktop wallet) or just one?
Thanks!

Offline bytemaster

Re: Ubuntu GUI how to?
« Reply #1 on: July 22, 2014, 02:09:17 PM »
System Ubuntu 14.04
I complied bitsharesx.git (hat to increase the swap).
How do I run the GUI wallet in Ubuntu? Do I follow instructions in /qt_wallet/README.md ?
Are there different wallets (webwallet and desktop wallet) or just one?
Thanks!

BUILD_OSX has instructions that should be helpful for Ubuntu as well.
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline puppies

Re: Ubuntu GUI how to?
« Reply #2 on: July 22, 2014, 04:50:34 PM »
edit.  here are some updated instructions.

Code: [Select]
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 qt5-default libqt5webkit5-dev npm nodejs-legacy
git clone https://github.com/dacsunlimited/bitsharesx.git
cd bitsharesx
git checkout 0.4.5 (use the version number you want to build in this place.)
git submodule init
git submodule update
cd programs/web_wallet
sudo npm install -g lineman
sudo npm install
cd ../..
cmake -DINCLUDE_QT_WALLET=ON .
make buildweb
make

If all goes well you will have an executable named BitSharesX in /bitsharesx/programs/qt_wallet/bin that will be your gui wallet.

This is how I have been doing it.

To upgrade
Code: [Select]
cd bitsharesx
git pull https://github.com/dacsunlimited/bitsharesx.git "put version number here without quotes"
git submodule update
cmake -DINCLUDE_QT_WALLET=ON .
make buildweb
make

This last update threw an error at the make buildweb step about htdocs already existing.  I ended up just renaming bitsharesx/programs/qt_wallet/htdocs and trying again.
« Last Edit: August 22, 2014, 12:13:13 AM by puppies »
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline speedy

  • Hero Member
  • *****
  • Posts: 1160
    • View Profile
  • BTS: speedy
Re: Ubuntu GUI how to?
« Reply #3 on: July 22, 2014, 08:26:41 PM »
Is there no way to compile the qt-wallet without pulling in the whole of node.js onto my box?

Offline puppies

Re: Ubuntu GUI how to?
« Reply #4 on: July 22, 2014, 10:02:54 PM »
I can post the htdocs somewhere when I get home.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline speedy

  • Hero Member
  • *****
  • Posts: 1160
    • View Profile
  • BTS: speedy
Re: Ubuntu GUI how to?
« Reply #5 on: July 22, 2014, 10:54:18 PM »
I can post the htdocs somewhere when I get home.

So lineman is only used to generate the docs - thanks puppies  +5%

Offline 麥可貓

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: Ubuntu GUI how to?
« Reply #6 on: July 23, 2014, 02:21:28 PM »
There is a guide for building qt_wallet of BitSharesX in ubuntu 14.04 here.
However, it's in chinese. So I roughly translate it as the following:

1. Install necessary packages:
Code: [Select]
$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
in Ubuntu 14.04, you also have to install qt5.3.0 and node.js from their official sites.

2. Fetch the source code

Code: [Select]
$ git clone https://github.com/BitShares/bitshares_toolkit.git
$ cd bitshares_toolkit
$ git submodule init
$ git submodule update
$ git checkout 0.2.1
$cmake -DINCLUDE_QT_WALLET=ON CMakeLists.txt

3. Prepare the web wallet
Code: [Select]
$ sudo npm install -g lineman
$ cd programs/web_wallet && npm install
$ cd ../../ && make buildweb

4. Build and run your qt_wallet
Code: [Select]
$ makeand you will get your qt_wallet at bitsharesx/programs/qt_wallet:
Code: [Select]
$ bitsharesx/programs/qt_wallet/BitSharesX

« Last Edit: July 23, 2014, 02:27:45 PM by 麥可貓 »
PTS: PmRVDPymZqSAZEXauHZSewrUrE66af7epT
BTSX: michaelcat
Delegate Team: x1.sun  x2.sun

Offline speedy

  • Hero Member
  • *****
  • Posts: 1160
    • View Profile
  • BTS: speedy
Re: Ubuntu GUI how to?
« Reply #7 on: July 23, 2014, 03:36:17 PM »
Can someone checkin the htdocs somewhere?

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
Re: Ubuntu GUI how to?
« Reply #8 on: July 23, 2014, 03:47:24 PM »
Can someone checkin the htdocs somewhere?

i almost have a PPA ready, don't know how much time I'll have to work on it today though. that should make installation really easy
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

38PTSWarrior

  • Guest
Re: Ubuntu GUI how to?
« Reply #9 on: July 23, 2014, 03:52:24 PM »
Oh that's good news!

Offline 麥可貓

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: Ubuntu GUI how to?
« Reply #10 on: July 23, 2014, 03:53:37 PM »
Can someone checkin the htdocs somewhere?

I literally followed what I posted above and did not asked for any missed files.
PTS: PmRVDPymZqSAZEXauHZSewrUrE66af7epT
BTSX: michaelcat
Delegate Team: x1.sun  x2.sun

Offline puppies

Re: Ubuntu GUI how to?
« Reply #11 on: July 23, 2014, 04:09:38 PM »
Can someone checkin the htdocs somewhere?

Try https://www.dropbox.com/s/q1b429v945rqysp/htdocs.tar.gz

I'm not even sure if that link will work.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline puppies

Re: Ubuntu GUI how to?
« Reply #12 on: July 23, 2014, 04:15:48 PM »
There is a guide for building qt_wallet of BitSharesX in ubuntu 14.04 here.
However, it's in chinese. So I roughly translate it as the following:

1. Install necessary packages:
Code: [Select]
$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
in Ubuntu 14.04, you also have to install qt5.3.0 and node.js from their official sites.

2. Fetch the source code

Code: [Select]
$ git clone https://github.com/BitShares/bitshares_toolkit.git
$ cd bitshares_toolkit
$ git submodule init
$ git submodule update
$ git checkout 0.2.1
$cmake -DINCLUDE_QT_WALLET=ON CMakeLists.txt

3. Prepare the web wallet
Code: [Select]
$ sudo npm install -g lineman
$ cd programs/web_wallet && npm install
$ cd ../../ && make buildweb

4. Build and run your qt_wallet
Code: [Select]
$ makeand you will get your qt_wallet at bitsharesx/programs/qt_wallet:
Code: [Select]
$ bitsharesx/programs/qt_wallet/BitSharesX



The make buildweb is definitely better than my way of doing it.  that copies the htdocs into the correct folder automatically for you.  I didn't build qt or nodejs from source though.  I got them out of the standard trusty repo.  I am installing a fresh os in a virtual machine to verify exactly which dependencies are needed.

**edit**  I had missed a dependency nodejs-legacy in my original post.  adding the following dependencies will prevent you from having to build nodejs from source.  I am currently building the web wallet, will update if I missed any qt dependencies.
Code: [Select]
sudo apt-get install qt5-default libqt5webkit5-dev npm nodejs-legacy
**double edit** I can now confirm that only those four extra dependencies are needed to build the qt_wallet on a fresh 14.04 ubuntu.
« Last Edit: July 23, 2014, 06:25:27 PM by puppies »
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
Re: Ubuntu GUI how to?
« Reply #13 on: July 23, 2014, 10:21:33 PM »
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

Offline gamey

  • Hero Member
  • *****
  • Posts: 2253
    • View Profile
Re: Ubuntu GUI how to?
« Reply #14 on: July 31, 2014, 01:01:23 AM »
There is also this. 

https://bitsharestalk.org/index.php?topic=5951.0

(for anyone searching and finding this thread.. the above looks to be a well written walk-through)

I speak for myself and only myself.

 

Google+