Friday, April 26, 2013

Installing/Running Google Chrome from linux (rhel6) without Root

Update: so I gave up on the non-root and ended up using the following script provided at:
http://chrome.richardlloyd.org.uk/

So there are a number of articles posted on this topic and I don't mean to replace or usurp them, just post what worked for me for my future use. But first the link that I started with:
http://indiayouthtechtips.blogspot.com/2012/03/how-to-install-google-chrome-without.html

my steps:

  1. download latest chrome from google: https://www.google.com/intl/en/chrome/browser/?brand=CHMO#eula
    • for my purpose I selected the 64-bit rpm
  2. create install area:
    •  mkdir /some/path/for/chrome
  3. copy downloaded rpm to path setup above and cd into folder
  4. open rpm with cpio (the real task that makes things work):
    • rpm2cpio /path/to/download/google-chrome-stable_current_x86_64.rpm | cpio -id
  5. link the following file:
    • libbz2.so.1.0 -> /usr/lib64/libbz2.so
  6. run with following:
    • google-chrome --no-sandbox --always-authorize-plugins --allow-outdated-plugins %U
As you will notice if you review the above link to other directions, I basically skipped all the linking steps with the exception of libbz2.

I also made a launcher icon with gnome with the same command listed in step 6.

well that is what worked for me :-)

No comments: