user27: I have built the bitcoin source on my Ubuntu desktop, and have installed the proper libraries via apt-get and building some. 
When I do:
cd src
bitcoind -daemon

I get the error:
bitcoind: command not found

and when I do ./bitcoin I get:
bash: ./bitcoin: No such file or directory

What am I doing wrong?

user164: Also, if you want to just run bitcoind (without ./bitcoind), add it to your executable path:

As Andrew mentioned, first be sure to chmod +x bitcoind in your src directory.
Still in the src directory, run pwd to get the full path (for example /home/alex/src)
Add it to your .profile with echo "export PATH=$PATH:/home/alex/src" >> ~/.profile

Now you can execute bitcoind from anywhere in your system when logged with your user.

user63: Go to the directory with the bitcoind binary.
Make sure it's executable:
chmod +x bitcoind
Now run it:
./bitcoind -daemon

27: <p>I have built the bitcoin source on my Ubuntu desktop, and have installed the proper libraries via apt-get and building some. </p>

<p>When I do:</p>

<pre><code>cd src
bitcoind -daemon
</code></pre>

<p>I get the error:</p>

<pre><code>bitcoind: command not found
</code></pre>

<p>and when I do <code>./bitcoin</code> I get:</p>

<pre><code>bash: ./bitcoin: No such file or directory
</code></pre>

<p>What am I doing wrong?</p>
 164: <p>Also, if you want to just run <code>bitcoind</code> (without <code>./bitcoind</code>), add it to your executable path:</p>

<ol>
<li>As Andrew <a href="https://bitcoin.stackexchange.com/questions/474/why-do-i-get-bitcoind-command-not-found-in-ubuntu/475#475">mentioned</a>, first be sure to <strong><code>chmod +x bitcoind</code></strong> in your <code>src</code> directory.</li>
<li>Still in the <code>src</code> directory, run <strong><code>pwd</code></strong> to get the full path (for example <code>/home/alex/src</code>)</li>
<li>Add it to your .profile with <strong><code>echo "export PATH=$PATH:/home/alex/src" &gt;&gt; ~/.profile</code></strong></li>
</ol>

<p>Now you can execute <code>bitcoind</code> from anywhere in your system when logged with your user.</p>
 63: <p>Go to the directory with the <code>bitcoind</code> binary.</p>

<p>Make sure it's executable:
<code>chmod +x bitcoind</code></p>

<p>Now run it:
<code>./bitcoind -daemon</code></p>
