Author

Topic: How to manage bitcoin-core by console in ubuntu 18.04 (Read 163 times)

legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
I don't use snap package often, but i think this command might work

Code:
snap run bitcoind -daemon

If it doesn't work, then you could try add directory path (which contain bitcoind executable) to system/user path. The fastest way is add those lines to ~/.bashrc file

Code:
export BITCOIN_CORE_HOME=/home/username/snap/bitcoin-core/common/.bitcoin
export PATH=$PATH:BITCOIN_CORE_HOME/bin

Don't forget to run command export ~/.bashrc or reboot your computer to apply the change, then you should able to execute bitcoind -daemon from your terminal.
newbie
Activity: 1
Merit: 0
I have installed bitcoin-core by snap on Ubuntu 18.04, when running bitcoin-core through the interface it works perfectly, but I want to administer it by console, according to the documentation I should run "bitcoind -daemon", but when I do this I get the following message: "order not found. "

Note: bicoin core is installed in the path /home/username/snap/bitcoin-core/common/.bitcoin
Jump to: