public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Quick and dirty install of google chrome binary package
@ 2012-02-07  2:42 walt
  2012-02-07  2:59 ` Jeff Horelick
  2012-02-07  3:04 ` [gentoo-user] " Pandu Poluan
  0 siblings, 2 replies; 12+ messages in thread
From: walt @ 2012-02-07  2:42 UTC (permalink / raw
  To: gentoo-user

I tried and liked google chrome for a few months until I got tired
of the multi-hour compile every week or so.  The chrome-binary ebuild
was removed a while ago, I'm guessing because of library version
conflicts, but I dunno for sure.

Anyway, I wanted to try a recent version of chrome without spending
all day compiling it on this dusty old x86 machine, so I improvised
this easy workaround:

First, you need x11-libs/libXScrnSaver and app-arch/rpm2targz already
installed.

Next, download the appropriate rpm package from www.google/chrome.

#cd /tmp   (or whatever staging area you prefer, but do it as root)

#rpmunpack /path/to/your/downloaded/google-chrome-whatever.rpm

#mv  google-whatever/opt/google  /opt   (the actual chrome binaries)

(Note:  you don't need the etc or usr/bin parts of the archive, so
  delete the whole /tmp/google-whatever directory now.)

Make the symlink
/usr/bin/google-chrome -> /opt/google/chrome/google-chrome

When you run google-chrome you will likely see an error for missing
libpng12.so.0, which gentoo has replaced with more recent versions
like libpng14 or libpng15.

If you see that error, here is a very quick and easy fix:

#ebuild  /usr/portage/media-libs/libpng/libpng-1.2.46.ebuild  compile

That step will build (but not install) libpng12, so you won't disturb
any of your existing packages.  The newly built library you need is
now waiting for you here:

/var/tmp/portage/media-libs/libpng-1.2.46/work/libpng-1.2.46/.libs/

Now copy libpng12.so.0.46.0 to /opt/google/chrome and rename it (or
symlink it) to libpng12.so.0, because that is what chrome looks for.

Complain here if you have problems :)




^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-02-08 23:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-07  2:42 [gentoo-user] Quick and dirty install of google chrome binary package walt
2012-02-07  2:59 ` Jeff Horelick
2012-02-07 16:57   ` [gentoo-user] " walt
2012-02-07 17:15     ` walt
2012-02-07 17:16     ` Pandu Poluan
2012-02-07 17:53       ` walt
2012-02-08 16:45         ` Mick
2012-02-08 21:47           ` Alan McKinnon
2012-02-08 22:47             ` walt
2012-02-08 22:58               ` Alan McKinnon
2012-02-08 23:08               ` Mick
2012-02-07  3:04 ` [gentoo-user] " Pandu Poluan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox