Bitcoin Forum
November 15, 2024, 11:46:43 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoin-qt linux install  (Read 1356 times)
scottDeans (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
March 14, 2015, 03:37:28 AM
 #1

Hello my name is Scott and I am a 4th year computer science student. We have been tasked to get started in an open source community, and after long while i found bitcoin-qt.
I think its best to find interesting topics and this is it for me. I am currently using a virtual machine cs50 released by jharvard that runs a Ubuntu 32 bit operating system to use Linux as it is
a good operating system with some good security features so i thought i would post install instructions from source code that I did for those who wish to program to improve the
bitcoin software and do a bit of mining as well.

The first thing i do is I have a git hub repository and i forked it from https://github.com/bitcoin/bitcoin to my repo where i cloned it using "git clone <http-clone-here>"
and i add a upstream to the master branch "git remote add upstream https://github.com/bitcoin/bitcoin.git".

After that I went to where I cloned the project and started to install the Dependencies, use the following terminal commands
$sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev
$sudo apt-get install libboost-all-dev
$ sudo add-apt-repository ppa:bitcoin/bitcoin
$sudo apt-get update
$sudo apt-get install libdb4.8-dev libdb4.8++-dev
$sudo apt-get install libminiupnpc-dev (see --with-miniupnpc and --enable-upnp-default)
$sudo apt-get install libqt4-dev libprotobuf-dev protobuf-compiler
$sudo apt-get install libqrencode-dev
some of these Dependencies are said to be optional, however I found them to be needed to fully install bitcoin-qt. There were some extra Dependencies such as security and for the wallet, but
since i am in the early stages I left these out I may put them in  when I know more about the program and bitcoin mining..
Now that the Dependencies are installed you can install bitcoin now. make sure you are in the bitcoin folder and run the following commands in the terminal
$./autogen.sh
Since I did not install the wallet Dependencies, make sure to exclude it in the configure call like so:
$./configure --disable-wallet
$make
There is an extra option but a couple more Dependencies are required for it:
$make install # optional

now your ready to run the code go to
$cd /Build/bitcoin/src/qt/
and run the bitcoin file like so
$./bitcoin-qt
The program will launch and ask you to install to a certain location, choose a spot and you're off.just to let you know it takes a bit of space on the hard drive and you should also allocate recommended 1GB of Ram.
This is what I did to install from the source code. I am rather new to this sort of thing so I hope to learn and improve my skills and if in the process if it helps a single person I am happy. I look Forward to the future in this community

jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1024


Mine at Jonny's Pool


View Profile WWW
March 14, 2015, 03:02:05 PM
 #2

I'm not sure why you bothered forking the repo unless you intend to write some code and either create your own alt coin from it, or ask the core developers for a pull request on changes you've made to it.

As for how to build from source on Ubuntu... there are a number of documents out there.  For example, here's a link to the one on the current master branch: https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md

One thing to note, the master branch is the latest/greatest bleeding edge core software.  The latest release can be found here: https://github.com/bitcoin/bitcoin/releases

Welcome to Bitcoin, and good luck!

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
Sundark
Hero Member
*****
Offline Offline

Activity: 560
Merit: 502


View Profile
March 14, 2015, 03:43:13 PM
 #3

Scott, to to the Bitcoin Discussion section and there is sticky thread specifically about Bitcoin-qt (core) there. Developers are lurking there and they could help you with your question.
Buck Naked
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
March 14, 2015, 04:15:50 PM
 #4

Or you can just install it from the official repositories, it has been there for a while now.

https://packages.debian.org/search?keywords=bitcoin&searchon=names&suite=unstable&section=all
scottDeans (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
March 16, 2015, 06:29:34 PM
 #5

Yea i want to work with some of the source code both to learn more and improve my programming abilities. Thank you Sundark i will go there to check talk to them there.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!