Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Trunked on March 24, 2018, 07:09:36 PM



Title: bitcoin compilation question from newbie
Post by: Trunked on March 24, 2018, 07:09:36 PM
Hi everyone,
I'm novice to bitcoin and I'm trying to compile it to study.
In Ubuntu 14 I have compiled all, and in the /usr/local/bin folder 7 files were created:
bench_bitcoin, bitcoin-cli, bitcoind, bitcoin-qt, bitcoin-tx, test_bitcoin, test_bitcoin-qt


When I click on any of them, Ubuntu displays an error: Could not display “bitcoind”. There is no application installed for “shared library” files. Do you want to search for an application to open this file?


Does anybody  know how to launch these files? Thanks!


Title: Re: bitcoin compilation question from newbie
Post by: aleksej996 on March 24, 2018, 11:40:14 PM
Just start them from terminal.
Type "bitcoin-qt" in the command line and it should start.

You could also create a desktop file to be able to lunch it from your desktop environment.
You just need a file in /usr/share/applications called for example bitcoin.desktop owned by root (chown 0.0 bitcoin.desktop && chmod 644 bitcoin.desktop) that looks something like this:
Code:
[Desktop Entry]
Name=Bitcoin
Exec=bitcoin-qt
Icon=<location of your bitcoin source directory>/bitcoin/share/pixmaps/bitcoin128.png
Type=Application
StartupNotify=false


Title: Re: bitcoin compilation question from newbie
Post by: Trunked on March 25, 2018, 05:25:17 AM
It worked! Thanks so much for the tip.