Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc: Installation - Debian/Ubuntu #396

Closed
nicknameul opened this issue May 21, 2016 · 7 comments
Closed

Doc: Installation - Debian/Ubuntu #396

nicknameul opened this issue May 21, 2016 · 7 comments

Comments

@nicknameul
Copy link

Hello.

I tried to install this library and i could not do it because of a mistake in the script installation link.
In Doc you have the following link :

wget https://raw.githubusercontent.com/libbitcoin/libbitcoin/version2/install.sh

when the one that worked for me was :

wget https://raw.githubusercontent.com/libbitcoin/libbitcoin/master/install.sh

If noob issue, i do apologize, but i just wanted to help.
GG on the code

@evoskuil
Copy link
Member

Hi @nicknameul - what error do you get with the version2 install?

@skaht
Copy link

skaht commented May 21, 2016

Try downloading bitcoin-explorer and bitcoin-server using the following git commands:

  1. git clone --branch version2 --single-branch https://github.com/libbitcoin/libbitcoin-explorer
  2. git clone --branch version2 --single-branch https://github.com/libbitcoin/libbitcoin-server

Then try running the install.sh scripts for bitcoin-explorer and bitcoin-server.

@nicknameul
Copy link
Author

I'm not able to replicate the error now. Tried to reinstall version 2 now, but it all worked as planned. I thought that it did not work to install that version because Master was the new one and somebody forgot to update the Doc. I'm a total newb when it comes to this.

@evoskuil
Copy link
Member

evoskuil commented May 21, 2016

@skaht - it's not necessary to clone, as the install script does this.

@nicknameul
Copy link
Author

@skaht - Installed with git clone command. Now i can call bx anytime in Ubuntu terminal. Thanks

@skaht
Copy link

skaht commented May 21, 2016

@nicknameul - Eric is right that the approach I recommended was not a minimalist approach. The initial clone was an overkill because it downloads a complete distribution for a given branch.

@skaht
Copy link

skaht commented May 21, 2016

Think Eric meant something like the following should have been done:

A1. wget -O bx-install.sh https://raw.githubusercontent.com/libbitcoin/libbitcoin-explorer/version2/install.sh
A2. chmod u+x bx-install.sh
A3. ./bx-install.sh --build-icu --build-boost --build-dir=pwd/build-bx --prefix=pwd/install-bx --disable-shared

B1. wget -O bs-install.sh https://raw.githubusercontent.com/libbitcoin/libbitcoin-server/version2/install.sh
B2. chmod u+x bs-install.sh
B3. ./bs-install.sh --build-boost --build-dir=pwd/build-bs --prefix=pwd/install-bs --disable-shared

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants