title: Installing Chromium on Amazon Linux
body: <p>I am trying to install Chromium (or Chrome, whichever) on an Amazon Linux machine.</p>
  
  <p>I have tried many steps, to no avail. Here is what I have tried:</p>
  
  <h3>Simple Yum Install</h3>
  
  <pre><code>yum install epel       # worked
  yum install chromium
  </code></pre>
  
  <p>generated error message:</p>
  
  <blockquote>
  <pre><code>Error: Package: chromium-31.0.1650.63-2.el6.x86_64 (chromium-el6)
             Requires: libgnome-keyring.so.0()(64bit)
  Error: Package: chromium-31.0.1650.63-2.el6.x86_64 (chromium-el6)
             Requires: libgtk-x11-2.0.so.0()(64bit)
  Error: Package: chromium-31.0.1650.63-2.el6.x86_64 (chromium-el6)
             Requires: libgdk_pixbuf-2.0.so.0()(64bit)
  Error: Package: chromium-31.0.1650.63-2.el6.x86_64 (chromium-el6)
             Requires: libXss.so.1()(64bit)
  Error: Package: chromium-31.0.1650.63-2.el6.x86_64 (chromium-el6)
             Requires: libgdk-x11-2.0.so.0()(64bit)
  Error: Package: chromium-31.0.1650.63-2.el6.x86_64 (chromium-el6)
             Requires: libcanberra-gtk2(x86-64)
  Error: Package: chromium-31.0.1650.63-2.el6.x86_64 (chromium-el6)
             Requires: libatk-1.0.so.0()(64bit)
  </code></pre>
  </blockquote>
  
  <h3>Yum install of specific RPM package</h3>
  
  <p>I tried downloading a Chrome RPM, both <a href="http://dl.google.com/linux/chrome/rpm/stable/x86_64//google-chrome-stable-64.0.3282.119-1.x86_64.rpm" rel="noreferrer">the latest stable version</a> as well as a specific version, and then running</p>
  
  <pre><code>yum install google-chrome-stable-64.0.3282.119-1.x86_64.rpm
  </code></pre>
  
  <p>It yielded the same error message</p>
  
  <h3>Manual procedure</h3>
  
  <p>Downloaded binary from <a href="https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Linux_x64/532015/" rel="noreferrer">https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Linux_x64/532015/</a></p>
  
  <p>Running it generated the error message</p>
  
  <blockquote>
    <p>error while loading shared libraries: libXcursor.so.1: cannot open shared object file: No such file or directory</p>
  </blockquote>
  
  <p>I ran </p>
  
  <pre><code>yum install libXcursor
  yum install libXfixes     # because chrome was then complaining about that library
  yum install libXdamage    # and subsequently that one
  </code></pre>
  
  <p>which all worked.</p>
  
  <p>However, then Chrome started complaining about a <code>libcups</code> library :</p>
  
  <blockquote>
    <p>error while loading shared libraries: libcups.so.2: cannot open shared object file: No such file or directory</p>
  </blockquote>
  
  <p><code>libcups</code> wasn't found by yum, and it seems that this is because it is a 32 bit library. Some page recommended to install <code>ia32-libs</code> as a solution, but running <code>yum install ia32-libs</code> showed that it was already installed.</p>
  
  <p>I couldn't get past that point.</p>
  
  <h3>Other</h3>
  
  <ul>
  <li>I also tried steps mentioned <a href="https://www.centos.org/forums/viewtopic.php?t=44855#p192908" rel="noreferrer">here</a>, but that didn't work</li>
  <li>some pages point to using <code>dpkg</code>, but that command doesn't exist on Amazon Linux apparently</li>
  <li><code>apt</code> neither</li>
  </ul>