Author

Topic: Downloaded Bitcoin To Debian Squeeze: "sudo: bitcoind: command not found" (Read 3596 times)

hero member
Activity: 700
Merit: 500
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.
full member
Activity: 213
Merit: 100
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.
hero member
Activity: 700
Merit: 500
EDIT:

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

-kevin

You can edit posts...
newbie
Activity: 2
Merit: 0
EDIT:

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

-kevin
newbie
Activity: 2
Merit: 0
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
legendary
Activity: 966
Merit: 1009
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
sr. member
Activity: 280
Merit: 252
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?
Jump to: