Post
Topic
Board Development & Technical Discussion
Re: [Guide] Futurebit Apollo BTC Custom Linux Install - Node
by
btctotoro
on 16/11/2022, 17:14:19 UTC
Hi N0nce,

I followed the steps you outlined to install bitcoin-cli.  Doesn't appear to have worked, unfortunately.  I am getting the same error after installation in the debug file and when I ran bitcoin-cli echo 'hello world', I got the following:

error: Could not locate RPC credentials. No authentication cookie could be found, and RPC password is not set.  See -rpcpassword and -stdinrpcpass.  Configuration file: (/home/futurebit/.bitcoin/bitcoin.conf)

I'm thinking I don't actually have bitcoin-cli installed as when I entered the command sudo install -m 0755 -o root -g root -t /usr/local/bin bin/bitcoin-cli, the command line simply reloaded to the base user and nothing was communicated about installation.  I tried tweaking your instructions so that I was in the folder with bitcoin-cli:

cd /home/futurebit/bitcoin-23.0/bin
sudo install bitcoin-cli

But I got the following error about suffixes, unsure of which one to use after reviewing the help install --help text (if this alternative would even work for installing bitcoin-cli):

install: missing destination file operand after 'bitcoin-cli'
Try 'install --help' for more information