Bitcoin Forum
December 07, 2016, 02:30:00 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1] 2 3 »  All
  Print  
Author Topic: Ubuntu bitcoin packages  (Read 23275 times)
David Armstrong
Newbie
*
Offline Offline

Activity: 11


View Profile
January 05, 2011, 11:50:20 AM
 #1

Hello,

I've setup a launchpad PPA to host Ubuntu packages of bitcoin.  Version 0.3.19 is up now with builds for maverick and lucid.  I've tested the Maverick build and it runs ok for me, I don't have a machine around to test Lucid.

The PPA is hosted at https://launchpad.net/~stretch/+archive/bitcoin

To install on Ubuntu:
sudo apt-add-repository ppa:stretch/bitcoin
sudo apt-get install bitcoin

then to run
bitcoin or bitcoind - both are in /usr/bin

If this works/doesn't work for anyone please let me know.

thanks!

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

Posts: 1481121000

View Profile Personal Message (Offline)

Ignore
1481121000
Reply with quote  #2

1481121000
Report to moderator
1481121000
Hero Member
*
Offline Offline

Posts: 1481121000

View Profile Personal Message (Offline)

Ignore
1481121000
Reply with quote  #2

1481121000
Report to moderator
1481121000
Hero Member
*
Offline Offline

Posts: 1481121000

View Profile Personal Message (Offline)

Ignore
1481121000
Reply with quote  #2

1481121000
Report to moderator
davout
Legendary
*
Offline Offline

Activity: 1358


1davout


View Profile WWW
January 05, 2011, 12:27:03 PM
 #2

Also see
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578157

hugolp
Hero Member
*****
Offline Offline

Activity: 742



View Profile
January 05, 2011, 12:47:09 PM
 #3

Good initiative.
genjix
Legendary
*
Offline Offline

Activity: 1232


View Profile
January 05, 2011, 02:21:42 PM
 #4

+1 another reason to remove the wxWidgets code from Bitcoin and allow others to make their own.
Gavin Andresen
Legendary
*
Offline Offline

Activity: 1652


Chief Scientist


View Profile WWW
January 05, 2011, 03:10:42 PM
 #5

Very nice!  Let me ask some dumb questions:

I've setup a launchpad PPA to host Ubuntu packages of bitcoin.

What does PPA stand for?

Does launchpad help solve the 'trusted build' problem-- e.g. does the build process automatically fetch from source code that we can all look at and audit?

How hard would it be to setup something similar to produce regular builds of the github integration repository?

Right now, the bitcoin build process is "Satoshi does it."  Using Launchpad to create the Linux builds seems like the right way to go.

Last dumb question:  are there services similar to Launchpad for building Mac/Windows software?

How often do you get the chance to work on a potentially world-changing project?
Gavin Andresen
Legendary
*
Offline Offline

Activity: 1652


Chief Scientist


View Profile WWW
January 06, 2011, 12:13:06 AM
 #6

It is also possible to use Launchpad for Mac/Windows software (e.g. this project is Win-Only: https://launchpad.net/lilregcleaner)

... but Launchpad won't build (run the compiler on one of their machines) Mac/Windows software, or did I miss that feature when I looked at the website?

How often do you get the chance to work on a potentially world-changing project?
davux
Sr. Member
****
Offline Offline

Activity: 289


Firstbits.com/1davux


View Profile WWW
January 06, 2011, 01:04:36 AM
 #7

... but Launchpad won't build (run the compiler on one of their machines) Mac/Windows software, or did I miss that feature when I looked at the website?

Here's my limited knowledge about it, but please someone correct/complete this information. Ubuntu and Debian packages are built by the uploader of the package (who is not always the same person as the package maintainer, btw). I don't know about Ubuntu, but in the case of Debian, the uploader is a trusted DD (Debian Developper), who reviews at least the package-specific diff produced by the package maintainer (if not the whole source), builds the binary, signs the whole thing and uploads it. For all other architectures than those the DD has access to, binaries are automatically built by a daemon at Debian's. It's possible that the daemon also rebuilds the binary on the archs provided by the DD, but I'm not sure of that part.

I suspect Ubuntu packages to work in a similar way – I'm not sure about the specific case of PPAs, though, since they're user-provided.

1DavuxH9tLqU4c7zvG387aTG4mA7BcRpp2
México (Oaxaca) – France - Leeds
David Armstrong
Newbie
*
Offline Offline

Activity: 11


View Profile
January 06, 2011, 08:07:00 AM
 #8

I'm still a PPA novice so my answers might not be 100% right....

Very nice!  Let me ask some dumb questions:

I've setup a launchpad PPA to host Ubuntu packages of bitcoin.

What does PPA stand for?

Does launchpad help solve the 'trusted build' problem-- e.g. does the build process automatically fetch from source code that we can all look at and audit?


It won't automatically fetch the source, but it does force me to upload the source (and an optional patch) and builds packages from those.

In this case I took the tarball from sourceforge.  The patch is minimal, just thin wrapper around the bitcoin makefile to keep the debian build system happy.

On https://launchpad.net/~stretch/+archive/bitcoin/+packages you can poke around a bit and you'll see download links for all the various files, and on http://launchpadlibrarian.net/61656269/bitcoin_0.3.19-maverick6_source.changes you'll be able to verify the checksums match to the original tarball.

Quote

How hard would it be to setup something similar to produce regular builds of the github integration repository?

Right now, the bitcoin build process is "Satoshi does it."  Using Launchpad to create the Linux builds seems like the right way to go.


With your own dedicated machine it would be fairly easy, just a cron job to checkout a snapshot, tar up and submit to launchpad.  We can eliminate the patch file by checking those changes back into the main source tree.

I don't know whether or not launchpad could host the cron job for us.

Quote

Last dumb question:  are there services similar to Launchpad for building Mac/Windows software?


David.
--
19mu1aamCdGNGExVfbwoMWn92dEuNfgWZA
hacim
Member
**
Offline Offline

Activity: 64


View Profile
January 06, 2011, 04:17:57 PM
 #9

Debian packages were uploaded in december, now awaiting  ftpmaster approval:
   http://ftp-master.debian.org/new/bitcoin_0.3.19~dfsg-2.html

   It is also unofficially available using this APT line:

      deb http://debian.jones.dk/ unstable freedombox

   ...or manually downloaded here:

      http://debian.jones.dk/pkg/freedombox/bitcoin/

   ...or git cloned from here:

      git://git.debian.org/git/collab-maint/bitcoin

15yns1RVpBHZ8uj8mGVUJVCyPh5ieW3FQx
davout
Legendary
*
Offline Offline

Activity: 1358


1davout


View Profile WWW
January 06, 2011, 04:23:35 PM
 #10

It's going to be pretty nice and strengthening to have all debian geeks putting their sleepy boxes to mine Smiley

em3rgentOrdr
Sr. Member
****
Offline Offline

Activity: 434


youtube.com/ericfontainejazz now accepts bitcoin


View Profile WWW
January 12, 2011, 12:12:26 AM
 #11

To install on Ubuntu:
sudo apt-add-repository ppa:stretch/bitcoin
sudo apt-get install bitcoin

Did not install on my Ubuntu 10.04 x86-64:

Quote
$ sudo apt-add-repository ppa:stretch/bitcoin
[sudo] password for user:
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv CD1034FCBFA4E05DCFAD0C2A8741DDC3A4FF3776
gpg: requesting key A4FF3776 from hkp server keyserver.ubuntu.com
gpg: key A4FF3776: public key "Launchpad PPA for David Armstrong" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
$ sudo apt-get install bitcoin
Reading package lists... Done
Building dependency tree       
Reading state information... Done
W: Duplicate sources.list entry http://ppa.launchpad.net/pmcenery/ppa/ubuntu/ lucid/main Packages (/var/lib/apt/lists/ppa.launchpad.net_pmcenery_ppa_ubuntu_dists_lucid_main_binary-amd64_Packages)
W: You may want to run apt-get update to correct these problems
E: Couldn't find package bitcoin

"We will not find a solution to political problems in cryptography, but we can win a major battle in the arms race and gain a new territory of freedom for several years.

Governments are good at cutting off the heads of a centrally controlled networks, but pure P2P networks are holding their own."
em3rgentOrdr
Sr. Member
****
Offline Offline

Activity: 434


youtube.com/ericfontainejazz now accepts bitcoin


View Profile WWW
January 13, 2011, 01:51:35 PM
 #12

Quote
W: Duplicate sources.list entry http://ppa.launchpad.net/pmcenery/ppa/ubuntu/ lucid/main Packages (/var/lib/apt/lists/ppa.launchpad.net_pmcenery_ppa_ubuntu_dists_lucid_main_binary-amd64_Packages)
W: You may want to run apt-get update to correct these problems
E: Couldn't find package bitcoin

Did you read that? Tongue

Oops!!!  I feel like an idiot!  (But I included the error message so that a smart person like you could read it and copy and paste it for me)  Embarrassed

You have added the PPA twice, which doesn't make any sense to apt... Edit the sources.list
sudo vim /etc/apt/sources.list

Yup!  That's exactly the problem. I just fixed my sources.list, and it installs just fine.

and remove the duplicate entry. If you don't know how to use vim, you can try nano by replacing it:
sudo nano /etc/apt/sources.list

Don't worry, I'm a vim user.  Smiley

"We will not find a solution to political problems in cryptography, but we can win a major battle in the arms race and gain a new territory of freedom for several years.

Governments are good at cutting off the heads of a centrally controlled networks, but pure P2P networks are holding their own."
ModVAVet
Newbie
*
Offline Offline

Activity: 1


View Profile
January 16, 2011, 08:05:44 PM
 #13

Just installed on Ubuntu 10.10 i386...  Install was quick and flawless, but bitcoin only runs for maybe 30 seconds and then disappears  Undecided  Not sure what to do there...  It's not minimizing to the taskbar, either.
skull88
Hero Member
*****
Offline Offline

Activity: 684



View Profile
January 17, 2011, 11:01:39 PM
 #14

Works flawless on Ubuntu 10.10 i386 here.

BTC: 1MifMqtqqwMMAbb6zr8u6qEzWqq3CQeGUr
LTC: LhvMYEngkKS2B8FAcbnzHb2dvW8n9eHkdp
Mahkul
Sr. Member
****
Offline Offline

Activity: 420


Be silent, or be silenced.


View Profile WWW
February 09, 2011, 06:17:44 PM
 #15

When I try to install it says:


Code:
mahkul@mahkul-Dimension-2400:~$ sudo apt-get install bitcoin                    Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package bitcoin

Is the package gone from the repository? (I succesfully added the PPA prior to installing).

Bitalo.com coming soon!

1MAHKULzqZb4evFFg9157LvnJhJQQbeYo7
I Use Dial
Newbie
*
Offline Offline

Activity: 1


View Profile
February 10, 2011, 10:46:12 PM
 #16

When I try to install it says:


Code:
mahkul@mahkul-Dimension-2400:~$ sudo apt-get install bitcoin                    Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package bitcoin

Is the package gone from the repository? (I succesfully added the PPA prior to installing).
I just got the exact same thing.  I'm no Linux guru, but I have a 10.04 Server that I use for really only a few things, like secure browsing while traveling, bacula, etc.  It could run bitcoin pretty much 24/7 and I wouldn't notice.  I could also run it on my FreeNAS if that were even possible.
ShadowOfHarbringer
Legendary
*
Offline Offline

Activity: 1470


Bringing Legendary Har® to you since 1952


View Profile
February 13, 2011, 07:20:50 AM
 #17

Just started Ubuntu on VM and still no bitcoin in repositories after 2 years of the project activity & dynamic development.

Is somebody working on officially pushing bitcoin to central/canonical Ubuntu repos ? This could significantly increase BTC popularity.
(The same with other distros)

tuxsoul
Jr. Member
*
Offline Offline

Activity: 40



View Profile WWW
February 14, 2011, 04:35:56 AM
 #18

I just got the exact same thing.  I'm no Linux guru, but I have a 10.04 Server that I use for really only a few things, like secure browsing while traveling, bacula, etc.  It could run bitcoin pretty much 24/7 and I wouldn't notice.  I could also run it on my FreeNAS if that were even possible.

Hi,

If you have a small server, you can check my repository to test bitcoind (not gui).
http://bitcointalk.org/index.php?topic=2207

In the next update i build for: lucid, maverick and natty.

Greetings.

tuxsoul
Jr. Member
*
Offline Offline

Activity: 40



View Profile WWW
February 14, 2011, 05:07:16 AM
 #19

Is somebody working on officially pushing bitcoin to central/canonical Ubuntu repos ? This could significantly increase BTC popularity.
(The same with other distros)

Is not necessary, if exist an official debian package, only is necesary send a request for sync, with that, ubuntu will use the debian package.

In other way, i can send my own package to ubuntu revu.

example: bitcoin-cpuminer in ubuntu revu
http://revu.ubuntuwire.com/p/bitcoin-cpuminer

Greetings.

ShadowOfHarbringer
Legendary
*
Offline Offline

Activity: 1470


Bringing Legendary Har® to you since 1952


View Profile
February 14, 2011, 10:46:23 AM
 #20

Is not necessary, if exist an official debian package, only is necesary send a request for sync, with that, ubuntu will use the debian package.

Very good idea.

Cheers.

Pages: [1] 2 3 »  All
  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!