BitShares Forum
		Main => Technical Support => Topic started by: islandking 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!
- 
				Afair they are going to release binaries for linux too this time
			
- 
				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.
- 
				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.
 
 
 cd <path-to-bitshares>
 git pull
 git checkout v0.5.0
 git submodule update
 make
 
- 
				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.
 
 
 cd <path-to-bitshares>
 git pull
 git checkout v0.5.0
 git submodule update
 make
 
 
 Thanks xeroc. Is that it?
- 
				yes .. assuming your downloaded the source code from github initially .. (git clone)
 
 that's how I upgrade my delegates for ages :P
- 
				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
- 
				ah .. I see ..
 If you also want the GUI version compiled then you need those additional steps:
 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/
 
- 
				ah .. I see ..
 If you also want the GUI version compiled then you need those additional steps:
 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?
- 
				Lines starting with # are comment ;)
			
- 
				Lines starting with # are comment ;)
 
 
 +5% Haha thanks... I am still learning.
- 
				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??
- 
				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".
- 
				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>
 
 
 
- 
				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.
- 
				I really appreciate your help. I still don't understand what I need to do to make the update work. When I type
 git checkout bts/0.5.3
 
 the output is:
 M   libraries/fc
 M   programs/qt_wallet
 M   programs/web_wallet
 Previous HEAD position was 1100744... Update checkpoints
 HEAD is now at 8c908f8... Handle fix
 
 Then I run BitShares command line yet the qt client splash screen still says v0.4.27.2-1.
 
 
- 
				@bitmarley: You need to also COMPILE the upgraded sourcecode
 
 upgrade process:
 
 cd <BitSharesDirectory>
 git pull
 git checkout bts/5.0.3
 git submodule update
 make
 make forcebuildweb
 make BitShares
 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/
 
- 
				I have been compiling with the exact commands in the order as you've listed them. 
 But I wasn't executing those sudo commands after compiling.
 Now I just did that and v0.5.3 qt GUI client started!
 
 Thanks everyone!!  :D