Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: bliss on September 29, 2020, 04:40:51 AM



Title: Help With Command - sudo add-apt-repository ppa:bitcoin/bitcoin
Post by: bliss on September 29, 2020, 04:40:51 AM
Hello Devs

I am trying to do this statement on ubuntu while creating a coin and get an issue with this command:
sudo add-apt-repository ppa:bitcoin/bitcoin

When I run this, I get an issue where it says not maintained and get from bitcoin.org

When I run though download from there, I can't complete next set of instructions from this pastebin:
https://pastebin.com/Mu5z4kVc

I read that further statements in that pastebin will error if this is not done right.

Let me know the statements to add in Linux please.


Title: Re: Help With Command - sudo add-apt-repository ppa:bitcoin/bitcoin
Post by: NotATether on September 29, 2020, 08:35:48 AM
Only the next command

Code:
sudo apt-get install libdb4.8-dev libdb4.8++-dev

will fail because those packages are only available in the PPA. The other packages are not located in this PPA, and the rest of the pastebin commands are git clones and finds. libdb is the Berkely DB and it's used by bitcoin to store portable wallet data. If you absolutely require version 4.8, I found instructions on Github to install it manually without the PPA. https://github.com/bitcoin/bitcoin/issues/3686#issuecomment-35211263


Title: Re: Help With Command - sudo add-apt-repository ppa:bitcoin/bitcoin
Post by: bliss on September 29, 2020, 04:03:23 PM
If you only need to install Bitcoin Core, it's far easier to use ppa:luke-jr/bitcoincore (https://launchpad.net/~luke-jr/+archive/ubuntu/bitcoincore (https://launchpad.net/~luke-jr/+archive/ubuntu/bitcoincore)) which have newest version of Bitcoin Core.

Code:
sudo add-apt-repository ppa:luke-jr/bitcoincore
sudo apt update
sudo apt install bitcoinqt bitcoind

Thanks for the reply @ETFbitcoin

It actually has enabled me to install, though it also has brought up E: Unable to locate package bitcoinqt. However, it is ok I think as gone through and also enabled me to go through the other statement had an issue with so far.

Thanks for the reply ETFbitcoin.

In 2009/2010 I was browsing forum, got mining software and didn't open an account as couldn't start mining. Thanks for being part of my personal development this time  ;) ;D