Bitcoin Forum
July 18, 2019, 10:10:07 AM *
News: Latest Bitcoin Core release: 0.18.0 [Torrent] (New!)
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: need help installing bitcoin-core on ubuntu [offline]  (Read 1485 times)
pooya87
Legendary
*
Offline Offline

Activity: 1708
Merit: 1761



View Profile
June 14, 2015, 12:51:38 PM
 #1

(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
returns an error

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1563444607
Hero Member
*
Offline Offline

Posts: 1563444607

View Profile Personal Message (Offline)

Ignore
1563444607
Reply with quote  #2

1563444607
Report to moderator
1563444607
Hero Member
*
Offline Offline

Posts: 1563444607

View Profile Personal Message (Offline)

Ignore
1563444607
Reply with quote  #2

1563444607
Report to moderator
Newar
Legendary
*
Offline Offline

Activity: 1358
Merit: 1000


https://gliph.me/hUF


View Profile
June 14, 2015, 12:59:37 PM
 #2


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.

OTC rating | GPG keyid 1DC91318EE785FDE | Gliph: lightning bicycle tree music | Mycelium, a swift & secure Bitcoin client for Android | LocalBitcoins
pooya87
Legendary
*
Offline Offline

Activity: 1708
Merit: 1761



View Profile
June 14, 2015, 01:05:47 PM
 #3


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.
yes i am trying to make an offline / cold storage with bitcoin core.
is it not possible to do this with bitcoin core?
if not what are the easier / better options?

Newar
Legendary
*
Offline Offline

Activity: 1358
Merit: 1000


https://gliph.me/hUF


View Profile
June 14, 2015, 01:19:50 PM
 #4


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.
yes i am trying to make an offline / cold storage with bitcoin core.
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.

OTC rating | GPG keyid 1DC91318EE785FDE | Gliph: lightning bicycle tree music | Mycelium, a swift & secure Bitcoin client for Android | LocalBitcoins
achow101
Moderator
Legendary
*
Offline Offline

Activity: 1820
Merit: 2546


bc1qshxkrpe4arppq89fpzm6c0tpdvx5cfkve2c8kl


View Profile WWW
June 14, 2015, 02:29:57 PM
 #5

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
Then you need to get the db4.8 and miniupnpc packages from Bitcoin's ubuntu repository:
Code:
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev libminiupnpc-dev
Then you need to install Qt to have Bitcoin-Qt:
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
./configure
make
make install
This will compile and install Bitcoin Core to your system. You can now run it by typing
Code:
bitcoin-qt
in a terminal. It might also show up in the app drawer, but I'm not sure.

tspacepilot
Legendary
*
Offline Offline

Activity: 1456
Merit: 1053


I may write code in exchange for bitcoins.


View Profile
June 14, 2015, 07:25:27 PM
 #6

@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.
pooya87
Legendary
*
Offline Offline

Activity: 1708
Merit: 1761



View Profile
June 15, 2015, 03:06:38 PM
 #7

~~
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.
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.
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.

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.
sorry about that, you are right.
i followed these steps 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
and also "$chmod +x bitcoin-qt" returns:
Code:
+x: command not found
an screenshot: https://i.imgur.com/ebYGnW2.jpg

fsb4000
Legendary
*
Offline Offline

Activity: 1400
Merit: 1000



View Profile
June 15, 2015, 04:00:56 PM
 #8

enter 'ls' and show result
should be similar to this: http://i.imgur.com/cl9ddtT.png
tspacepilot
Legendary
*
Offline Offline

Activity: 1456
Merit: 1053


I may write code in exchange for bitcoins.


View Profile
June 15, 2015, 04:06:12 PM
 #9

~~
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.
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.
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.
I believe he wrote that because he gave you instructinos for installing the build tools, and you have to be online to download them
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.

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.
sorry about that, you are right.
i followed these steps 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
and also "$chmod +x bitcoin-qt" returns:
Code:
+x: command not found
an screenshot: https://i.imgur.com/ebYGnW2.jpg
Screenshot shows that it worked.  The second time you typed it correctly.  The "$" represents the prompt.  When people say type:

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.
pooya87
Legendary
*
Offline Offline

Activity: 1708
Merit: 1761



View Profile
June 16, 2015, 04:50:38 AM
 #10

TL;DR; i downloaded the 64bit version of bitcoin-core on my 64bit ubuntu !

my problem was as simple as this Smiley

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!!!!

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!