Bitcoin For CentOS 7

Home » CentOS » Bitcoin For CentOS 7
CentOS 8 Comments

For those interested I have a working spec file for Bitcoin 0.12.0

https://github.com/AliceWonderMiscreations/bitcoin/blob/master/contrib/rpm/bitcoin.spec

I believe the only BuildRequires that isn’t in CentOS/EPEL is miniupnpc-devel but that’s trivial to build as well.

With Bitcoin 0.12.0 the ECC stuff that Red Hat ripped out of OpenSSL
doesn’t matter anymore.

-=-

That spec file is somewhat based on what https://www.ringingliberty.com/bitcoin/ does for Fedora / CentOS with a couple noted differences –

A) I don’t have SELinux stuff (yet). His SELinux stuff is broken on CentOS 7. Only matters for the bitcoin-server package, the GUI client doesn’t seem to matter.

B) He uses system BerkeleyDB. I build BerkeleyDB when building bitcoin because BerkeleyDB is fragile enough that changes to it can cause a wallet that can’t be read by other clients.

C) He adds a patch that adds functionality needed by a very small demographic – hardware machines that sell bitcoins. I prefer to not add that patch because I prefer pristine source rather than modifying what the devs produced for a feature 99.9% of the population doesn’t need.

So I prefer to stick with the precise version that bitcoin.org uses in the binary builds they distribute. Happens to be same version CentOS 7
has now but that may not always be the case. It isn’t with CentOS 6.

Anyway if anyone one this list has interest, figured I’d share the spec file. Adding SELinux to the server package I will work on.

Oh the referenced patch that is there is only needed for LibreSSL, you can comment it out to build against OpenSSL.

0.12.0 seems much faster at indexing than previous versions, and catches up faster when it is behind on blocks.

8 thoughts on - Bitcoin For CentOS 7

  • Yeah, because other currencies and paypal etc. are never used for criminal activities, I see your highly logical point.

  • Meanwhile banks like Chase charge poor people $12.00 a month just have checking and push debit card paychecks on low income jobs where they charge just for the poor to check how much they have on it.

    That’s not criminal though, it’s taking from the poor so the rich can buy new cars and cruises but it’s not criminal so there is no reason why we should scoff at that.

  • Alice Wonder wrote:

    Tell me about it. I think we’re in agreement on that kind of crap.

    I know someone on another list whose attitude is “you should invest in the market, but if you don’t know what you’re doing, and do it as well as I
    do, I’ll be glad to take your money”.

    But we’re way afield, and OT. My original cmt was just a one-off. If you want to continue, let’s take this offlist.

    mark “moi? have opinions?”

  • Yes. They give them one free withdrawal a month, after that they pay a service for everything.

    And chase pays a bounty to managers of $100 per employee to switch to the debit card system over paychecks, so it is clear Chase sees the poor as a market to profit from.

    Our current banking system is predatory and designed to widen the income divide.

    But that’s another topic. I just wanted to provide a clean RPM spec file for CentOS users who want to use bitcoin.

LEAVE A COMMENT