Title: need help installing bitcoin-core on ubuntu [offline] Post by: pooya87 on June 14, 2015, 12:51:38 PM (i am not familiar with ubuntu or any kind of linux that much)
i am trying to install bitcoin core on an offline ubuntu. so far i have downloaded this file: https://bitcoin.org/bin/bitcoin-core-0.10.2/bitcoin-0.10.2-linux64.tar.gz extracted the package on ubuntu but the file "bitcoin-qt" located in bin folder is not an executable file. i don't know hot to install this. my search results are either how to install from ppa or upgrading from an older version what should i do? found this: https://bitcointalk.org/index.php?topic=84800.msg937554#msg937554 but Code: ./bitcoin-qt Title: Re: need help installing bitcoin-core on ubuntu [offline] Post by: Newar on June 14, 2015, 12:59:37 PM Maybe if you could let us know what you are trying to achieve? There are offline/online solutions like Armory, but Bitcoin Core is generally not considered one of them. If you are trying to generate keys only and then sweep them later, there are easier ways to do that. Title: Re: need help installing bitcoin-core on ubuntu [offline] Post by: pooya87 on June 14, 2015, 01:05:47 PM Maybe if you could let us know what you are trying to achieve? There are offline/online solutions like Armory, but Bitcoin Core is generally not considered one of them. If you are trying to generate keys only and then sweep them later, there are easier ways to do that. is it not possible to do this with bitcoin core? if not what are the easier / better options? Title: Re: need help installing bitcoin-core on ubuntu [offline] Post by: Newar on June 14, 2015, 01:19:50 PM Maybe if you could let us know what you are trying to achieve? There are offline/online solutions like Armory, but Bitcoin Core is generally not considered one of them. If you are trying to generate keys only and then sweep them later, there are easier ways to do that. is it not possible to do this with bitcoin core? if not what are the easier / better options? It is very well possible, but most people are going an easier route by downloading the bitaddress.org html for example or for command line use there is this python script that runs out of the box: https://bitcointalk.org/index.php?topic=361092.0 Some of these solutions generate QR codes that makes sweeping the address easier if you ever want to do that at a later time. For a true offline/online solution look into Armory and I believe a similar solution is available from Electrum as well. Some reading material for you: https://en.bitcoin.it/wiki/Paper_wallet#Creation_of_a_paper_wallet https://en.bitcoin.it/wiki/Cold_storage Not trying to deter you, but since you say you're not familiar with Linux, have a look at other options and learn about them. Title: Re: need help installing bitcoin-core on ubuntu [offline] Post by: achow101 on June 14, 2015, 02:29:57 PM You will need to be online to do this, so connect your computer to Wi-fi or ethernet. If you open settings, you can should find something about networks and wireless connections and then connect to a wifi network. Without internet, you won't be able to compile and run a Bitcoin full node.
So what you downloaded is the source code for Bitcoin Core. In order to install it, you will need to compile the code. I have posted the instructions below, but you can also find them under doc/build-unix.md. First install all of the dependencies. Open a terminal and type all of this: Code: sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev libboost-all-dev Code: sudo add-apt-repository ppa:bitcoin/bitcoin Code: sudo apt-get install libqt4-dev libprotobuf-dev protobuf-compilerlibqrencode-dev Once all of the dependencies are installed, you must compile the code. Again in the terminal run: Code: ./autogen.sh Code: bitcoin-qt Title: Re: need help installing bitcoin-core on ubuntu [offline] Post by: tspacepilot on June 14, 2015, 07:25:27 PM @knightdk, It's not clear from OP that he downloaded a source tarball, he may have the binaries in there and just not know how to run them, he only says that ./bitcoin-qt returns an error (he doesn't say what error). Ie, he may not need to build, he may just need to make his binary execurable.
Also, "make install" probably requires root elevation. @OP: Code: $chmod +x bitcoin-qt But more seriously, you have to actually post what the error messages are if you want someone to help you. I have to say it again and again on these forums: there are people who know how to read those messages even if you don't---post them here if you want real help. Saying "I got an error" is too vague. Title: Re: need help installing bitcoin-core on ubuntu [offline] Post by: pooya87 on June 15, 2015, 03:06:38 PM ~~ since i am currently using electrum, i created another one on my linux and it was easy and successful. i think i am going to use that for cold storage.For a true offline/online solution look into Armory and I believe a similar solution is available from Electrum as well. ~~ Not trying to deter you, but since you say you're not familiar with Linux, have a look at other options and learn about them. i mostly want to become more familiar with linux, that is why i chose this option. and as for bitcoin-core i just wanted the main client that's all. You will need to be online to do this, so connect your computer to Wi-fi or ethernet. ~~ thanks for the help, but the whole reason for what i am doing is to create an offline wallet, with me just copying a wallet installation file there.@knightdk, It's not clear from OP that he downloaded a source tarball, he may have the binaries in there and just not know how to run them, he only says that ./bitcoin-qt returns an error (he doesn't say what error). Ie, he may not need to build, he may just need to make his binary execurable. sorry about that, you are right.Also, "make install" probably requires root elevation. @OP: Code: $chmod +x bitcoin-qt But more seriously, you have to actually post what the error messages are if you want someone to help you. I have to say it again and again on these forums: there are people who know how to read those messages even if you don't---post them here if you want real help. Saying "I got an error" is too vague. i followed these steps (https://bitcointalk.org/index.php?topic=84800.msg937554#msg937554) except for the "wget" part which i downloaded tar.gz file from bitcoin.org and transferred it with my USB flash drive and after typing "./bitcoin-qt" i get: Ubuntu 14.4.2 Code: bash: ./bitcoin-qt: No such file or directory Code: +x: command not found Title: Re: need help installing bitcoin-core on ubuntu [offline] Post by: fsb4000 on June 15, 2015, 04:00:56 PM enter 'ls' and show result
should be similar to this: https://i.imgur.com/cl9ddtT.png Title: Re: need help installing bitcoin-core on ubuntu [offline] Post by: tspacepilot on June 15, 2015, 04:06:12 PM ~~ since i am currently using electrum, i created another one on my linux and it was easy and successful. i think i am going to use that for cold storage.For a true offline/online solution look into Armory and I believe a similar solution is available from Electrum as well. ~~ Not trying to deter you, but since you say you're not familiar with Linux, have a look at other options and learn about them. i mostly want to become more familiar with linux, that is why i chose this option. and as for bitcoin-core i just wanted the main client that's all. You will need to be online to do this, so connect your computer to Wi-fi or ethernet. ~~ thanks for the help, but the whole reason for what i am doing is to create an offline wallet, with me just copying a wallet installation file there.Quote @knightdk, It's not clear from OP that he downloaded a source tarball, he may have the binaries in there and just not know how to run them, he only says that ./bitcoin-qt returns an error (he doesn't say what error). Ie, he may not need to build, he may just need to make his binary execurable. sorry about that, you are right.Also, "make install" probably requires root elevation. @OP: Code: $chmod +x bitcoin-qt But more seriously, you have to actually post what the error messages are if you want someone to help you. I have to say it again and again on these forums: there are people who know how to read those messages even if you don't---post them here if you want real help. Saying "I got an error" is too vague. i followed these steps (https://bitcointalk.org/index.php?topic=84800.msg937554#msg937554) except for the "wget" part which i downloaded tar.gz file from bitcoin.org and transferred it with my USB flash drive and after typing "./bitcoin-qt" i get: Ubuntu 14.4.2 Code: bash: ./bitcoin-qt: No such file or directory Code: +x: command not found Code: $ ls -lah bitcoin-qt The dollar sign just shows you that it's intended to be a shell command (specifically, the $ means bash shell but that's another story). Anyway, you should try running ./bitcoin-qt again now that it's executable. I should also say that there may be something more going on here as it seems weird to me that it says "no such file or directory", I would have expected "permission denied" if the issue was permission to execute the file. You should type the command "ls -la" to see the listing of the files in that directory and their permissions. Title: Re: need help installing bitcoin-core on ubuntu [offline] Post by: pooya87 on June 16, 2015, 04:50:38 AM TL;DR; i downloaded the 64bit version of bitcoin-core on my 64bit ubuntu !
my problem was as simple as this :) (http://askubuntu.com/questions/133389/no-such-file-or-directory-but-the-file-exists) here is what happened. because i had 32bit version of ubuntu 9.10, i downloaded the 32bit version of bitcoin-core. but on ubuntu 9.10 i got library missing error. so i decided to download the latest version so i downloaded ubuntu 14.4.2 but used the same bitcoin-core which was 32bit version the stupidest thing is, apparently you can not run 32bit version of the file on a 64bit version OS on linux without doing some extra stuff!!!! |