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: How to update in Linux?  (Read 626 times)

0 Members and 1 Guest are viewing this topic.

Offline islandking

  • Sr. Member
  • ****
  • Posts: 378
  • The king of the island
    • View Profile
How to update in Linux?
« on: January 14, 2015, 02:15:10 PM »

What Linux command lines do I need to update my defunct client to 0.5?

Thanks so much!
I've been working on a new electronic cash system that's fully peer-to-peer, with no trusted third party. - Satoshi

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12339
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: How to update in Linux?
« Reply #1 on: January 14, 2015, 02:39:15 PM »
Afair they are going to release binaries for linux too this time
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline islandking

  • Sr. Member
  • ****
  • Posts: 378
  • The king of the island
    • View Profile
Re: How to update in Linux?
« Reply #2 on: January 14, 2015, 02:46:28 PM »
Afair they are going to release binaries for linux too this time

So how would I update using the terminal commands? I already have an existing client. I just need to update.
I've been working on a new electronic cash system that's fully peer-to-peer, with no trusted third party. - Satoshi

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12339
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: How to update in Linux?
« Reply #3 on: January 14, 2015, 02:49:53 PM »
Afair they are going to release binaries for linux too this time

So how would I update using the terminal commands? I already have an existing client. I just need to update.

Code: [Select]
cd <path-to-bitshares>
git pull
git checkout v0.5.0
git submodule update
make
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline islandking

  • Sr. Member
  • ****
  • Posts: 378
  • The king of the island
    • View Profile
Re: How to update in Linux?
« Reply #4 on: January 14, 2015, 03:16:46 PM »
Afair they are going to release binaries for linux too this time

So how would I update using the terminal commands? I already have an existing client. I just need to update.

Code: [Select]
cd <path-to-bitshares>
git pull
git checkout v0.5.0
git submodule update
make

Thanks xeroc. Is that it?
I've been working on a new electronic cash system that's fully peer-to-peer, with no trusted third party. - Satoshi

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12339
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: How to update in Linux?
« Reply #5 on: January 14, 2015, 03:20:11 PM »
yes .. assuming your downloaded the source code from github initially .. (git clone)

that's how I upgrade my delegates for ages :P
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline islandking

  • Sr. Member
  • ****
  • Posts: 378
  • The king of the island
    • View Profile
Re: How to update in Linux?
« Reply #6 on: January 14, 2015, 03:22:16 PM »
yes .. assuming your downloaded the source code from github initially .. (git clone)

that's how I upgrade my delegates for ages :P

I followed these instructions to download initially: https://github.com/BitShares/bitshares/blob/master/BUILD_UBUNTU.md
I've been working on a new electronic cash system that's fully peer-to-peer, with no trusted third party. - Satoshi

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12339
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: How to update in Linux?
« Reply #7 on: January 14, 2015, 03:25:04 PM »
ah .. I see ..
If you also want the GUI version compiled then you need those additional steps:
Code: [Select]
make forcebuildweb
make BitShares

# install binaries etc..
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/
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline islandking

  • Sr. Member
  • ****
  • Posts: 378
  • The king of the island
    • View Profile
Re: How to update in Linux?
« Reply #8 on: January 14, 2015, 03:45:12 PM »
ah .. I see ..
If you also want the GUI version compiled then you need those additional steps:
Code: [Select]
make forcebuildweb
make BitShares

# install binaries etc..
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/

So the instructions you have me won't update the GUI? So I would need to follow those additional commands right?

What does this mean: #install binaries etc?
I've been working on a new electronic cash system that's fully peer-to-peer, with no trusted third party. - Satoshi

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12339
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: How to update in Linux?
« Reply #9 on: January 14, 2015, 03:58:32 PM »
Lines starting with # are comment ;)
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline islandking

  • Sr. Member
  • ****
  • Posts: 378
  • The king of the island
    • View Profile
Re: How to update in Linux?
« Reply #10 on: January 14, 2015, 04:18:46 PM »
Lines starting with # are comment ;)

 +5% Haha thanks... I am still learning.
I've been working on a new electronic cash system that's fully peer-to-peer, with no trusted third party. - Satoshi

Offline bitmarley

  • Full Member
  • ***
  • Posts: 135
    • View Profile
Re: How to update in Linux?
« Reply #11 on: January 26, 2015, 01:10:40 AM »
Code: [Select]
cd <path-to-bitshares>
git pull
git checkout v0.5.0     #error: pathspec 'v0.5.0' did not match any file(s) known to git.
git submodule update
make
make forcebuildweb
make BitShares

I've tried all the above commands they all worked except the checkout.
Now when I run the qt client with BitShares command there is not change to the version number appearing on the splash screen its still is v0.4.27.2-1. And the client sync is now behind by over 3 days.

Any ideas??

Offline vikram

Re: How to update in Linux?
« Reply #12 on: January 26, 2015, 02:07:20 AM »
Code: [Select]
cd <path-to-bitshares>
git pull
git checkout v0.5.0     #error: pathspec 'v0.5.0' did not match any file(s) known to git.
git submodule update
make
make forcebuildweb
make BitShares

I've tried all the above commands they all worked except the checkout.
Now when I run the qt client with BitShares command there is not change to the version number appearing on the splash screen its still is v0.4.27.2-1. And the client sync is now behind by over 3 days.

Any ideas??

You can see that the tag for the latest release is bts/0.5.3 according to: https://github.com/BitShares/bitshares/releases/latest

So you need to do "git checkout bts/0.5.3".

Offline bitmarley

  • Full Member
  • ***
  • Posts: 135
    • View Profile
Re: How to update in Linux?
« Reply #13 on: January 26, 2015, 03:49:13 AM »
Code: [Select]
cd <path-to-bitshares>
git checkout bts/0.5.3
git pull


I figured after running the checkout I should try git pull but this error:

You are not currently on a branch. Please specify which
branch you want to merge with. See git-pull(1) for details.

    git pull <remote> <branch>


 

Offline vikram

Re: How to update in Linux?
« Reply #14 on: January 26, 2015, 07:20:44 AM »
Code: [Select]
cd <path-to-bitshares>
git checkout bts/0.5.3
git pull


I figured after running the checkout I should try git pull but this error:

You are not currently on a branch. Please specify which
branch you want to merge with. See git-pull(1) for details.

    git pull <remote> <branch>

No need to pull if the checkout succeeded. When updating you should checkout master branch and then pull, then checkout the release tag.

 

Google+