title: Installing nodejs on Red Hat
body: <p>I am trying to install node.js on Red Hat Enterprise Linux Server release 6.1 using the following command:</p>
  
  <pre><code>sudo yum install nodejs npm
  </code></pre>
  
  <p>I got the following error:</p>
  
  <pre><code>Error: Package: nodejs-0.10.24-1.el6.x86_64 (epel)
             Requires: libssl.so.10(libssl.so.10)(64bit)
  Error: Package: nodejs-devel-0.10.24-1.el6.x86_64 (epel)
             Requires: libcrypto.so.10(libcrypto.so.10)(64bit)
  Error: Package: nodejs-0.10.24-1.el6.x86_64 (epel)
             Requires: libcrypto.so.10(libcrypto.so.10)(64bit)
  Error: Package: nodejs-devel-0.10.24-1.el6.x86_64 (epel)
             Requires: libssl.so.10(libssl.so.10)(64bit)
   You could try using --skip-broken to work around the problem
   You could try running: rpm -Va --nofiles --nodigest
  </code></pre>
  
  <p>I tried the following command as well:</p>
  
  <pre><code>sudo yum install -y nodejs
  </code></pre>
  
  <p>I am getting the following error:</p>
  
  <pre><code>Error: Package: nodejs-0.10.24-1.el6.x86_64 (epel)
             Requires: libssl.so.10(libssl.so.10)(64bit)
  Error: Package: nodejs-0.10.24-1.el6.x86_64 (epel)
             Requires: libcrypto.so.10(libcrypto.so.10)(64bit)
  </code></pre>
  
  <p>How should I install it? I want to install the latest version.</p>