Bitcoin Forum
March 24, 2017, 08:11:32 AM *
News: Latest stable version of Bitcoin Core: 0.14.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Downloaded Bitcoin To Debian Squeeze: "sudo: bitcoind: command not found"  (Read 3354 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?
1490343092
Hero Member
*
Offline Offline

Posts: 1490343092

View Profile Personal Message (Offline)

Ignore
1490343092
Reply with quote  #2

1490343092
Report to moderator
1490343092
Hero Member
*
Offline Offline

Posts: 1490343092

View Profile Personal Message (Offline)

Ignore
1490343092
Reply with quote  #2

1490343092
Report to moderator
1490343092
Hero Member
*
Offline Offline

Posts: 1490343092

View Profile Personal Message (Offline)

Ignore
1490343092
Reply with quote  #2

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

Posts: 1490343092

View Profile Personal Message (Offline)

Ignore
1490343092
Reply with quote  #2

1490343092
Report to moderator
1490343092
Hero Member
*
Offline Offline

Posts: 1490343092

View Profile Personal Message (Offline)

Ignore
1490343092
Reply with quote  #2

1490343092
Report to moderator
1490343092
Hero Member
*
Offline Offline

Posts: 1490343092

View Profile Personal Message (Offline)

Ignore
1490343092
Reply with quote  #2

1490343092
Report to moderator
xlcus
Hero Member
*****
Online Online

Activity: 532



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




           ▄▄▄▄▄ 
     ▄▄█████████████▄
   ▄█████▀       ▀█████▄
 ▄████▀             ▀████▄
 ███▀                 ▀███▄
███▀   █████████████   ▀███
███    ▀▀▀▀▀███▀▀▀▀▀    ███
███         ███         ███
███▄        ███        ████
▀███▄       ███       ▄███▀
 ▀████▄     ▀▀▀     ▄████▀
   ▀█████▄▄     ▄▄█████▀
      ▀█████████████▀
           ▀▀▀▀▀▀ 
WeTrust.io


             ▄██▄
     ▄      ▐████   ▄▄
   █████     ██████████
    █████████████████▀
 ▄████████████▀████▌
██████████     ▀████     
 ▀▀   █████     ██████████
      ▀████▌▄████████████▀
    ▄▄▄███████████████▌
   ██████████▀    ▐████
    ▀▀▀  ████▌     ▀▀▀
         ▀███▀


 ▄████████████████████▄
████████████████████████
██████████ ▀████████████
██████████    ▀█████████
██████████    ▄█████████
██████████ ▄████████████
████████████████████████
 ▀████████████████████▀

                 ▄████▄▄    ▄
██             ████████████▀
████▄         █████████████▀
▀████████▄▄   █████████████
▄▄█████████████████████████
██████████████████████████
  ▀██████████████████████
   █████████████████████
    ▀█████████████████▀
      ▄█████████████▀
▄▄███████████████▀
   ▀▀▀▀▀▀▀▀▀▀▀

  ▄██▄▄                ▄▄██▄
  ████████▄▄▄▄▄▄▄▄▄▄▄███████
  ██████████████████████████
  ██████████████████████████
▄████████████████████████████▄
██████████████████████████████▌
█████▀                  ▀█████▌
████    ███▄      ▄███    ████▌
████   ▐████      ████▌   ████
 ███    ▀██▀      ▀██▀    ███▀
  ▀██▄                  ▄██▀
    ▀▀██████████████████▀▀


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!