BitShares Forum

Main => General Discussion => Topic started by: kenCode on February 20, 2015, 09:11:40 pm

Title: Unable to install/run the bitshares_client on Linux
Post by: kenCode on February 20, 2015, 09:11:40 pm
i'm a linux newb, been using it for about a year and a half now, whenever i grab a new app i just use the software manager to do it. Obviously bitshares does not exist in the software manager so I am gonna try this via the bitshares website tar.gz, so here it goes:
 
1. Downloaded "bitsharesGUI-0.6.1-linux-x86_64.tar.gz"
2. Extracted it
3. double-clicked on the app/executable "bitshares_client"
now what? nothing happens.
 
sad to say i was a windoze guy, but happily a linux mint guy now, decided to get rid of all m$ products. it made for an easy transition for my family too since mint was so similar to windoze. anyhooz..
 
i even cmd lined it, checked the perms everything is fine there i guess, i have admin rights. still, nothing happens, bitshares_client won't start.
 
Can anyone help me install bitshares on linux? I really would like to get my account setup tonight and dump some fiat into bts immediately before the price jumps.
PLEEEEEZE
 
skype me: kenCode_de (i can drop you some btc for your time)
email: ken@kenCode.de
 
thanx!
  -ken
Title: Re: Unable to install/run the bitshares_client on Linux
Post by: Volker on February 20, 2015, 09:48:08 pm
I was trying to install it on linux mint today and failed as well, both trying to run it in Wine and installing from the terminal.
Title: Re: Unable to install/run the bitshares_client on Linux
Post by: xeroc on February 20, 2015, 10:02:06 pm
could you guys try to open the binary in a terminal and copy&paste the result?
Title: Re: Unable to install/run the bitshares_client on Linux
Post by: kenCode on February 20, 2015, 10:52:21 pm
could you guys try to open the binary in a terminal and copy&paste the result?

mama@mama-pc ~ $ cd Downloads
mama@mama-pc ~/Downloads $ bitshares_client
bitshares_client: command not found
mama@mama-pc ~/Downloads $ ^C
mama@mama-pc ~/Downloads $
Title: Re: Unable to install/run the bitshares_client on Linux
Post by: kenCode on February 20, 2015, 10:56:57 pm
I followed the steps here too:
https://github.com/BitShares/bitshares/blob/master/BUILD_UBUNTU.md
 
It compiled ok I guess, took about 30minutes, but it made it all the way through to 100% completion and gave me a prompt again so now what doI do so I can run bitshares for the first time and setup/fund an account?
 
Thanx in advance :)
  -ken
Title: Re: Unable to install/run the bitshares_client on Linux
Post by: santaclause102 on February 20, 2015, 11:22:50 pm
create a new file (new file is a new text file by standard (in ubuntu at least)) and write the folwoing into it:

#!/bin/bash
cd /home/ENTER-NAME-OFYOUR-LINUXUSERACCOUNT-HERE/bitshares/programs/qt_wallet/bin
./BitShares

this bit "/home/ENTER-NAME-OFYOUR-LINUXUSERACCOUNT-HERE/" might be different with mint.

then rename the file into Bitshares.sh

then close the file and say safe.

then double click on it and say execute.

then you choose a password (safe/remember it!).

if you are in the client go to the right top where you see a drop down menu that get you to the advanced settings. then you click on console. then you type "info". You can check the field "blockchain_head_blockage" and see how many seconds/hours/weeks you are being the synced status. You are synced when you are below 11 seconds.
To get synced just leave the client open (with or without having the password entered).
Title: Re: Unable to install/run the bitshares_client on Linux
Post by: kenCode on February 20, 2015, 11:32:02 pm
then close the file and say safe.

"say safe"??
Title: Re: Unable to install/run the bitshares_client on Linux
Post by: santaclause102 on February 20, 2015, 11:39:26 pm
then close the file and say safe.

"say safe"??
save ;) = confirm the changes you made the the previously empty file
Title: Re: Unable to install/run the bitshares_client on Linux
Post by: kenCode on February 20, 2015, 11:50:25 pm
create a new file (new file is a new text file by standard (in ubuntu at least)) and write the folwoing into it:

#!/bin/bash
cd /home/mama/bitshares/programs/qt_wallet/bin
./BitShares

then rename the file into Bitshares.sh

then close the file and say safe.

then double click on it and say execute.
++++ ok, i made it an executable file. i dbl clicked it, nothing happened. i dbl clicked it again and ran it in Terminal. Terminal opened then closed itself immediately.

then you choose a password (safe/remember it!).
++++ nope, i have not made it this far yet. ideas?? thanx :) -ken


if you are in the client go to the right top where you see a drop down menu that get you to the advanced settings. then you click on console. then you type "info". You can check the field "blockchain_head_blockage" and see how many seconds/hours/weeks you are being the synced status. You are synced when you are below 11 seconds.
To get synced just leave the client open (with or without having the password entered).
Title: Re: Unable to install/run the bitshares_client on Linux
Post by: santaclause102 on February 20, 2015, 11:58:53 pm
you can also open the terminal and enter:

cd /home/ENTER-NAME-OFYOUR-LINUXUSERACCOUNT-HERE/bitshares/programs/qt_wallet/bin

and then enter: ./BitShares

that should open the client too.

If that doesn't work check if there is such "/home/ENTER-NAME-OFYOUR-LINUXUSERACCOUNT-HERE/bitshares/programs/qt_wallet/bin" a folder and if in there is the "./BitShares" file.
Title: Re: Unable to install/run the bitshares_client on Linux
Post by: kenCode on February 21, 2015, 12:02:19 am
you can also open the terminal and enter:

cd /home/ENTER-NAME-OFYOUR-LINUXUSERACCOUNT-HERE/bitshares/programs/qt_wallet/bin

and then enter: ./BitShares

that should open the client too.

ah hah!
the /bin directory does not exist.
now what?
Title: Re: Unable to install/run the bitshares_client on Linux
Post by: santaclause102 on February 21, 2015, 12:05:52 am
you can also open the terminal and enter:

cd /home/ENTER-NAME-OFYOUR-LINUXUSERACCOUNT-HERE/bitshares/programs/qt_wallet/bin

and then enter: ./BitShares

that should open the client too.

ah hah!
the /bin directory does not exist.
now what?
hmm. look for the "./BitShares" file in various folders of the bitshares main folder. I also am not a super technical guy... ;)

Edit: According to https://github.com/BitShares/bitshares/blob/master/BUILD_UBUNTU.md the exectuable file should be in programs/qt_wallet/ -> Terminal: cd programs/qt_wallet/ -> ./BitShares
Title: Re: Unable to install/run the bitshares_client on Linux
Post by: kenCode on February 21, 2015, 12:19:29 am
hmm. look for the "./BitShares" file in various folders of the bitshares main folder. I also am not a super technical guy... ;)

Edit: According to https://github.com/BitShares/bitshares/blob/master/BUILD_UBUNTU.md the exectuable file should be in programs/qt_wallet/ -> Terminal: cd programs/qt_wallet/ -> ./BitShares

 
hmm, nope. just a .git and .gitignore sits in the qt_wallet folder as far as the hidden files goes anyway.
i'm trying the "extra steps" from here (https://github.com/BitShares/bitshares/blob/master/BUILD_UBUNTU.md) right now..
i just wanted to get bitshares installed so i could create and fund an account but if i need to do these "extra steps" too, well i am now so i'll post here the results..
Title: Re: Unable to install/run the bitshares_client on Linux
Post by: kenCode on February 21, 2015, 09:01:05 am
Ok, I finally got bitshares installed, but it will not let me register for an account.
It opens a browser window, loads up the faucet page, but none of the logins are working.
twitter, reddit, bitshares login, etc. see the error message in the image i have linked here..
please help me setup an account with bitshares, i feel like a drug addict that ain't gettin his fix,  this sucks, i need it bad baby!
do i need to update or upgrade or something?
 
please advise, thanx :)
  -ken
 
(http://kencode.de/img/bitshares-registration-problem.jpg)
Title: Re: Unable to install/run the bitshares_client on Linux
Post by: santaclause102 on February 21, 2015, 09:24:10 am
Either one of the faucets works (did you try them? and did you not try them before?). Or you post your public key here then I can send you the 0.5 bts required to register your accoutn...
Title: Re: Unable to install/run the bitshares_client on Linux
Post by: kenCode on February 21, 2015, 09:38:20 am
Either one of the faucets works (did you try them? and did you not try them before?). Or you post your public key here then I can send you the 0.5 bts required to register your accoutn...

 
I want to register the username: kencode
It says my public key is:
BTS4..Eypw
 
Thanx in advance :)
  -ken
Title: Re: Unable to install/run the bitshares_client on Linux
Post by: Volker on February 21, 2015, 12:27:54 pm
some of the dependencies aren't installing for me. i'm just going to give up for now. when i load it in Wine, the bitshares screen comes up and then there is a bug report, so i sent those in as well.
Title: Re: Unable to install/run the bitshares_client on Linux
Post by: santaclause102 on February 21, 2015, 12:30:06 pm
why wine??

the explanation here is all copy and paste https://github.com/BitShares/bitshares/blob/master/BUILD_UBUNTU.md

And there are also linux binaries now...
Title: Re: Unable to install/run the bitshares_client on Linux
Post by: Volker on February 21, 2015, 02:07:35 pm
why wine??

the explanation here is all copy and paste https://github.com/BitShares/bitshares/blob/master/BUILD_UBUNTU.md

And there are also linux binaries now...

Quote
W: Failed to fetch http://ppa.launchpad.net/boost-latest/ppa/ubuntu/dists/trusty/main/source/Sources  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/boost-latest/ppa/ubuntu/dists/trusty/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/boost-latest/ppa/ubuntu/dists/trusty/main/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.


 libboost-dev : Depends: libboost1.54-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


a lot of things are going wrong. when i get back to america, i'm going to reformat my computer and do it again.
Title: Re: Unable to install/run the bitshares_client on Linux
Post by: kenCode on February 21, 2015, 09:23:55 pm
All is well now, thank you everyone for your help!
 
My laptop is only 3 years old roughly, it's a Dell, top of the line when I bought it. The best way to get Bitshares Client installed, although it took about 45 minutes, was to go to the bitshares github and copy every line into your Terminal to build/make the bitshares client run properly:
https://github.com/BitShares/bitshares/blob/master/BUILD_UBUNTU.md
 
The first time you start up the bitshares client, let it run and run and run till it syncs first!
Then after a few hours it should be done, from there, come to this forum for your free bitshares faucet deposit, then once that deposit shows up in your bitshares client, THEN you can register your name, shapeshift a few bucks into your new account, and voila, you're up and running with bitshares.
 
Everyone here is awesome, you just gotta be patient getting it all setup, it's worth it, no worries! :)
Cheerz from Munich! :)
   -ken
 
Title: Re: Unable to install/run the bitshares_client on Linux
Post by: Thom on February 22, 2015, 01:02:23 am
Glad to you were able to work thru it all and triumphed in the end!

It can be very intimidating for many people to attempt to build a complex application like BitShares from source code. There are a zillion errors and issues that can arise which can be difficult to diagnose.  As more and more people such as yourself take on the challenge we refine the instructions and improve the experience.

For Linux it all comes do how much time is available to test the variations, such as which linux distribution and which version of it is the an acceptable target. The closer to the released distribution you are the more likely the wiki instructions are likely to work if they are followed carefully.

I'm an experienced software developer and my first attempt to build BitShares GUI app from source on Linux Mint 16 (or was it 13?) back in Sept failed. Since I was short on time I decided to use the Windows version rather than figure out why the compile failed. Subsequent attempts were no problem.

All that said, the bottom line is you clearly are motivated enough to do what most wouldn't attempt, and we're glad you're "with us" now. Welcome to the BitShares community!
Title: Re: Unable to install/run the bitshares_client on Linux
Post by: cusknee on February 22, 2015, 01:51:01 am
All is well now, thank you everyone for your help!
 
My laptop is only 3 years old roughly, it's a Dell, top of the line when I bought it. The best way to get Bitshares Client installed, although it took about 45 minutes, was to go to the bitshares github and copy every line into your Terminal to build/make the bitshares client run properly:
https://github.com/BitShares/bitshares/blob/master/BUILD_UBUNTU.md
 
The first time you start up the bitshares client, let it run and run and run till it syncs first!
Then after a few hours it should be done, from there, come to this forum for your free bitshares faucet deposit, then once that deposit shows up in your bitshares client, THEN you can register your name, shapeshift a few bucks into your new account, and voila, you're up and running with bitshares.
 
Everyone here is awesome, you just gotta be patient getting it all setup, it's worth it, no worries! :)
Cheerz from Munich! :)
   -ken
Great post and even greater example of tenacity!
Title: Re: Unable to install/run the bitshares_client on Linux
Post by: kenCode on February 22, 2015, 02:28:04 pm
I can't find the users post, but someone had mentioned that I should never post my username (kencode) and public key (BTS...ypw) online.
 
Is that a problem? A security issue?
Please advise..
 
Thanx in advance :)
  -ken