From: walt <w41ter@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Quick and dirty install of google chrome binary package
Date: Mon, 06 Feb 2012 18:42:33 -0800 [thread overview]
Message-ID: <jgq32q$oj5$1@dough.gmane.org> (raw)
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 :)
next reply other threads:[~2012-02-07 2:44 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-07 2:42 walt [this message]
2012-02-07 2:59 ` [gentoo-user] Quick and dirty install of google chrome binary package 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='jgq32q$oj5$1@dough.gmane.org' \
--to=w41ter@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox