title: Symfony: command not found
body: <p>I am trying working with symfony since past couple of months. Last night I did an auto remove to purge not needed repositories. After that I have not been able to create a new symfony project using the symfony command. When I run <code>Symfony new SecurityDemo 2.8.1</code> in the terminal,
  I get the error </p>
  
  <pre><code>Symfony: command not found
  </code></pre>
  
  <p>I tried installing the <strong>Symfony Installer</strong> again as directed in the documentation <a href="http://symfony.com/doc/current/setup.html" rel="noreferrer">http://symfony.com/doc/current/setup.html</a>. I went to my root directory and followed the installation procedure as shown in the screenshot
  <a href="https://i.stack.imgur.com/4SG2L.png" rel="noreferrer"><img src="https://i.stack.imgur.com/4SG2L.png" alt="enter image description here"></a></p>
  
  <p>Still I get the same error.</p>
  
  <p>All help is appreciated.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I am working with LAMP and am using PHP 5.6.</p>
  
  <p>When I try to update the symfony Installer using <code>symfony self-update</code> I get the output </p>
  
  <pre><code>// Symfony Installer is already updated to the latest version (1.5.8).
  </code></pre>