Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: ajk on April 30, 2014, 05:40:49 PM



Title: Bitcoin client is not an executable file through linux tar file download
Post by: ajk on April 30, 2014, 05:40:49 PM
Hello

I have run into some issue with my Bitcoin Core Client v.0.9.1

when I download the tar.gz file through Bitcoin.org the file looks like a word file and not an executable, when I try to open this file it reads the following error message,

"Could not display .... Bitcoin QT

there is no application installed for shared library files, Do you want to search for different application to open.."

Just wondering if anyone could offer some advice on how to fix this issue and why it is happening? a few weeks ago when I first downloaded the client nothing seemed to be wrong and when I tried to open my wallet today this happened,

appreciate any insight,

regards


Title: Re: Bitcoin client is not an executable file through linux tar file download
Post by: shorena on April 30, 2014, 06:06:54 PM
I assume you are some sort of Linux, so this would most likely work:

How can I Upgrade my Bitcoin QT?

I use Linux Ubunto and I don't know what to do.



Being a noob myself I asked the same question (https://bitcointalk.org/index.php?topic=562400.msg6146151#msg6146151) and got no answer here. Just to have it clear I was using bitcoin 0.9.0 from Ubuntu PPA and
had my libssl1.0.0 updated however in the debug window it still showed old/insecure version of OpenSSL.

So here is what I did:

-First thing first back up ur wallet.
-Shut down your client.
-Now make a backup of your current bitcoin-qt executable/shared library which should be in /usr/bin
Code:
cd /usr/bin
sudo mv bitcoin-qt bitcoin-qt.bckup
-Download and verify bitcoin-0.9.1-linux.tar.gz (https://bitcoin.org/bin/0.9.1/bitcoin-0.9.1-linux.tar.gz)
-Navigate to your Home directory
Code:
cd ~
-and then to Downloads
Code:
cd Downloads
-unzip what you've downloaded
Code:
tar xvzf bitcoin-0.9.1-linux.tar.gz
-Navigate to just unzipped directory
Code:
cd bitcoin-0.9.1-linux
-and then depending on whether your system is 32 or 64 do
Code:
cd bin/32

/* alternatively if your system is 64 do */

cd bin/64
-copy bitcoin-qt from this directory to /usr/bin
Code:
sudo cp bitcoin-qt /usr/bin

-start your client the usual way.

Hope it helps...
 :) :) :)



Depending on which Linux you are using there might be an easier way.... This is not as ubuntu specific as it sounds, as most commands work on all distros of Linux.

If you are using Ubuntu you can install the client now via the ppa as postet here:


https://launchpad.net/~bitcoin/+archive/bitcoin

In your terminal type in
Code:
sudo add-apt-repository ppa:bitcoin/bitcoin
and then
Code:
sudo apt-get update
EDIT: install
Code:
sudo apt-get install bitcoin-qt



All credit to dex1, I just copypasta this ;)


Title: Re: Bitcoin client is not an executable file through linux tar file download
Post by: Dare on April 30, 2014, 11:22:11 PM
Hello

I have run into some issue with my Bitcoin Core Client v.0.9.1

when I download the tar.gz file through Bitcoin.org the file looks like a word file and not an executable, when I try to open this file it reads the following error message,

"Could not display .... Bitcoin QT

there is no application installed for shared library files, Do you want to search for different application to open.."

Just wondering if anyone could offer some advice on how to fix this issue and why it is happening? a few weeks ago when I first downloaded the client nothing seemed to be wrong and when I tried to open my wallet today this happened,

appreciate any insight,

regards

I'm assuming you're on linux since you downloaded the .tar.gz archive; if you're on windows, you need the either the 32bit or 64bit installer or the .zip archive containing the windows executable files.

What is the name of the file you are trying to open? The executable files should be statically linked and not need shared libraries, IIRC. If the filename is "bitcoin-qt" and it's not marked as executable, try "chmod +x bitcoin-qt" in a terminal. If you're trying to run the .tar.gz file directly, the error is caused because that file is an archive, not an executable; to open it, run "tar xvzf <filename>" to extract it and look for the executable in the resulting folder. Unless you've renamed it, <filename> will be "bitcoin-0.9.1-linux.tar.gz".


Title: Re: Bitcoin client is not an executable file through linux tar file download
Post by: ajk on May 01, 2014, 12:21:31 AM
I figured out my problem, in case anyone is having similar problems in the future ill add in how I fixed this

I am using linux Mint and for me I had to right click desktop and then select Create Launcher

After this all I had to do was select the Bitcoin QT file located in the tar.gz I downloaded

after it created a desktop icon which launched the Bitcoin Core client

here is a source I used in order to complete this task

http://xmodulo.com/2013/11/create-desktop-shortcut-launcher-linux.html (http://xmodulo.com/2013/11/create-desktop-shortcut-launcher-linux.html)

* if you dont trust the link just copy and paste it into your URL

take care!


Title: Re: Bitcoin client is not an executable file through linux tar file download
Post by: Melnik on February 14, 2016, 10:15:27 PM
I figured out my problem, in case anyone is having similar problems in the future ill add in how I fixed this

I am using linux Mint and for me I had to right click desktop and then select Create Launcher

After this all I had to do was select the Bitcoin QT file located in the tar.gz I downloaded

after it created a desktop icon which launched the Bitcoin Core client

here is a source I used in order to complete this task

http://xmodulo.com/2013/11/create-desktop-shortcut-launcher-linux.html (http://xmodulo.com/2013/11/create-desktop-shortcut-launcher-linux.html)

* if you dont trust the link just copy and paste it into your URL

take care!
thank you, man! you really helped me!