I'm trying to install bitcoind as a dependency on travis-ci. Here is my .travis.yml file:

language: scala
  - 2.11.7

  on_success: change
  on_failure: change

  - sudo apt-add-repository ppa:bitcoin/bitcoin -y
  - sudo apt-get update -qq
  - sudo apt-get install bitcoind -y

  - bitcoind

  - mkdir -p /home/travis/.bitcoin && cp bitcoin.conf /home/travis/.bitcoin/bitcoin.conf
  - dpkg -L bitcoind 
  - /usr/bin/bitcoind -regtest -daemon

script: "sbt clean coverage test"
after_success: "sbt coverageReport coveralls"

and here is a link to the build failure:


notice that dpkg -L returns the following

$ dpkg -L bitcoind



















0.00s$ /usr/bin/bitcoind -regtest -daemon

/home/travis/.travis/job_stages: line 54: /usr/bin/bitcoind: No such file or directory

There isn't anything installed in /bin/. Any suggestions?

Note: If I just specify bitcoind instead of /usr/bin/bitcoind I get the same problem


1 Answer 1


Ubuntu Precise is no longer supported by the Bitcoin PPA team, as the listing showed the .deb package contains no binary. The package description says:

Bitcoin dummy package - please upgrade to a newer distro for an up-to-date Bitcoin package.

Due to change in Bitcoin Core 0.13.0, we can no longer reasonably ship Bitcoin Core for Ubuntu 12.04 LTS. You can either upgrade Ubuntu or download the statically-linked Bitcoin Core binaries from bitcoin.org

On the PPA mirror you can see that Trusty (14.04 LTS), Xenial (16.04 LTS), Yakkety (16.10) and Zesty (17.04) are all supported (they have reasonable file sizes). I'd recommend going with Xenial as that has LTS (Long Term Support).

The other option - as the description says - is downloading the binary from the official bitcoin site, unzipping it and using that instead. For the current version:

wget https://bitcoin.org/bin/bitcoin-core-0.14.2/bitcoin-0.14.2-x86_64-linux-gnu.tar.gz
cat bitcoin-0.14.2-x86_64-linux-gnu.tar.gz| gzip -d | tar -xv

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.