Bitcoin Forum
May 09, 2024, 09:50:13 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Downloaded Bitcoin To Debian Squeeze: "sudo: bitcoind: command not found"  (Read 3591 times)
gigabytecoin (OP)
Sr. Member
****
Offline Offline

Activity: 280
Merit: 252


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?
1715291413
Hero Member
*
Offline Offline

Posts: 1715291413

View Profile Personal Message (Offline)

Ignore
1715291413
Reply with quote  #2

1715291413
Report to moderator
1715291413
Hero Member
*
Offline Offline

Posts: 1715291413

View Profile Personal Message (Offline)

Ignore
1715291413
Reply with quote  #2

1715291413
Report to moderator
1715291413
Hero Member
*
Offline Offline

Posts: 1715291413

View Profile Personal Message (Offline)

Ignore
1715291413
Reply with quote  #2

1715291413
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715291413
Hero Member
*
Offline Offline

Posts: 1715291413

View Profile Personal Message (Offline)

Ignore
1715291413
Reply with quote  #2

1715291413
Report to moderator
1715291413
Hero Member
*
Offline Offline

Posts: 1715291413

View Profile Personal Message (Offline)

Ignore
1715291413
Reply with quote  #2

1715291413
Report to moderator
1715291413
Hero Member
*
Offline Offline

Posts: 1715291413

View Profile Personal Message (Offline)

Ignore
1715291413
Reply with quote  #2

1715291413
Report to moderator
xlcus
Legendary
*
Offline Offline

Activity: 966
Merit: 1009


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
kevinquinnyo
Newbie
*
Offline Offline

Activity: 2
Merit: 0


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
Merit: 0


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
Merit: 500


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: 213
Merit: 100


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
Merit: 500


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!