BitShares Forum

Main => Technical Support => Topic started by: tonyk on August 11, 2014, 01:59:32 pm

Title: Ubuntu help for Newbie
Post by: tonyk on August 11, 2014, 01:59:32 pm
After failing to build Dry Run 12 on win 7, I gave Ubuntu a chance. But have not success here either.

So can somebody please post all commands I need to run to accomplish that – I. e. good enough instructions for 3.5 y old, hopefully will do  :)
Title: Re: Ubuntu help for Newbie
Post by: gamey on August 11, 2014, 02:15:15 pm



http://wiki.bitshares.org/index.php/BitShares_X_Solutions#I_want_to_compile_the_Linux_GUI (http://wiki.bitshares.org/index.php/BitShares_X_Solutions#I_want_to_compile_the_Linux_GUI)

or if happy with the CLI wallet/running a delegate  http://wiki.bitshares.org/index.php/Bitshares-x-delegate-how-to (http://wiki.bitshares.org/index.php/Bitshares-x-delegate-how-to)

I mean I know these links that I provide are far from perfect, but thats why it would be more helpful if you explain where you get hung up so the documentation can be updated/fixed.
Title: Re: Ubuntu help for Newbie
Post by: Riverhead on August 11, 2014, 02:21:12 pm
This is assuming a fresh clean install of Ubuntu.  You can copy/paste most of these commands if you want to set it up like me.


sudo apt-get update
sudo apt-get git
cd ~
mkdir github
cd github

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
git clone https://github.com/BitShares/bitshares_toolkit.git (https://github.com/BitShares/bitshares_toolkit.git)
cd bitshares_toolkit

git checkout develop
./setenv.sh
git submodule init
git submodule update
cmake .
make
cd programs/client
./bitshares_client
Title: Re: Ubuntu help for Newbie
Post by: tonyk on August 11, 2014, 02:51:53 pm
This is assuming a fresh clean install of Ubuntu.  You can copy/paste most of these commands if you want to set it up like me.


sudo apt-get update
sudo apt-get git
cd ~
mkdir github
cd github

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
git clone https://github.com/BitShares/bitshares_toolkit.git (https://github.com/BitShares/bitshares_toolkit.git)
cd bitshares_toolkit

git checkout develop
./setenv.sh
git submodule init
git submodule update
cmake .
make
cd programs/client
./bitshares_client

Thanks.Great.  - It turn out I had that part already:


when I get to this part of the instructions:

sudo apt-get install npm qt5-default libqt5webkit5-dev
cd bitshares-toolkit
cmake -DINCLUDE_QT_WALLET=ON .
cd programs/web_wallet
sudo npm install -g lineman
npm install
cd -
make buildweb
make BitSharesXT


when I try  npm install I get:
npm ERR! weird error 127

Do I really need the second part?
Title: Re: Ubuntu help for Newbie
Post by: Riverhead on August 11, 2014, 02:54:58 pm
You need to install npm with sudo however for the DR12 testing you use the CLI in programs/client so no you don't need the second part yet.
Title: Re: Ubuntu help for Newbie
Post by: xeroc on August 11, 2014, 03:02:41 pm
remark: from a chat with cass i heard that there is a trading "wallet" in heavy development .. so unless you really need that gui to run trades on the blockchain you should not compile it and run the terminal mode .. (if you are comfortable with it and can wait for the final trader gui to come)
Title: Re: Ubuntu help for Newbie
Post by: tonyk on August 11, 2014, 03:20:15 pm
Thanks both - A LOT!
I do not need GUI, I think.