Bitcoin Forum
December 10, 2016, 02:56:49 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Downloaded Bitcoin To Debian Squeeze: "sudo: bitcoind: command not found"  (Read 3292 times)
gigabytecoin
Sr. Member
****
Offline Offline

Activity: 280


View Profile
April 14, 2011, 10:20:26 PM
 #1

So I have downloaded the compressed bitcoin linux file from bitcoin.org

I can navigate to bin/64/ and open bitcoin to see the graphical interface. I get quite a few connections and my block count rises quickly.

When I enter my terminal however and navigate to the same folder. Entering $bitcoin or $bitcoind or $bitcoind -server returns: bash: bitcoin: command not found

What do you think the problem is?
1481381809
Hero Member
*
Offline Offline

Posts: 1481381809

View Profile Personal Message (Offline)

Ignore
1481381809
Reply with quote  #2

1481381809
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481381809
Hero Member
*
Offline Offline

Posts: 1481381809

View Profile Personal Message (Offline)

Ignore
1481381809
Reply with quote  #2

1481381809
Report to moderator
1481381809
Hero Member
*
Offline Offline

Posts: 1481381809

View Profile Personal Message (Offline)

Ignore
1481381809
Reply with quote  #2

1481381809
Report to moderator
1481381809
Hero Member
*
Offline Offline

Posts: 1481381809

View Profile Personal Message (Offline)

Ignore
1481381809
Reply with quote  #2

1481381809
Report to moderator
xlcus
Hero Member
*****
Offline Offline

Activity: 518



View Profile
April 14, 2011, 10:30:36 PM
 #2

Entering $bitcoin or $bitcoind or $bitcoind -server returns: bash: bitcoin: command not found
What do you think the problem is?

Perhaps your PATH variable isn't set up to run executables from the current folder.  Try typing...
Code:
./bitcoind

Faircoin, the coin of the fair economy
Check https://www.fair.coop The Earth cooperative to create a new economic system, based in global fairness
kevinquinnyo
Newbie
*
Offline Offline

Activity: 2


View Profile
June 02, 2011, 01:57:15 AM
 #3

Hey so also, check the permissions.

That's one of those things that I often forget to do when I see an error like that.

So do an
Code:
ls -la
in the /bin/64/ directory

if you don't see an at all in the "drwxrwxrwx" permissions column, then it's not executable.  You can chmod it:

Just do 755:
Code:
chmod 755 bitcoin

(make sure you're in that directory, or declare the full path)

Don't mean to be patronizing to the original poster - this is directed at all who google this -  I just love this bitcoin idea, and I want to see more people use it, so if there are some linux newbs out there, I wouldn't want a simple permissions problem to stop them from trying it out.

Then as xlcus pointed out, you may still have to execute it as
Code:
./bitcoin

Cheers,

Kevin
kevinquinnyo
Newbie
*
Offline Offline

Activity: 2


View Profile
June 02, 2011, 01:58:15 AM
 #4

EDIT:

I mean to say "If you don't see an "x" at all in the ...

-kevin
SomeoneWeird
Hero Member
*****
Offline Offline

Activity: 700


View Profile
June 02, 2011, 10:48:45 AM
 #5

EDIT:

I mean to say "If you don't see an "x" at all in the ...

-kevin

You can edit posts...
Tril
Full Member
***
Offline Offline

Activity: 212


View Profile
June 02, 2011, 12:34:58 PM
 #6

So I have downloaded the compressed bitcoin linux file from bitcoin.org

I can navigate to bin/64/ and open bitcoin to see the graphical interface. I get quite a few connections and my block count rises quickly.

When I enter my terminal however and navigate to the same folder. Entering $bitcoin or $bitcoind or $bitcoind -server returns: bash: bitcoin: command not found

What do you think the problem is?

1. ./bitcoind - this directory is not in your $PATH. Or copy bitcoin and bitcoind to /usr/local/bin/.
2. you don't need to be root to run bitcoin, so leave off the sudo.
SomeoneWeird
Hero Member
*****
Offline Offline

Activity: 700


View Profile
June 02, 2011, 12:41:55 PM
 #7

So I have downloaded the compressed bitcoin linux file from bitcoin.org

I can navigate to bin/64/ and open bitcoin to see the graphical interface. I get quite a few connections and my block count rises quickly.

When I enter my terminal however and navigate to the same folder. Entering $bitcoin or $bitcoind or $bitcoind -server returns: bash: bitcoin: command not found

What do you think the problem is?

1. ./bitcoind - this directory is not in your $PATH. Or copy bitcoin and bitcoind to /usr/local/bin/.
2. you don't need to be root to run bitcoin, so leave off the sudo.


the whole "./" makes $PATH irrelevant.
"./" = current directory.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!