<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>thinkMoult &#187; 64bit</title>
	<atom:link href="http://thinkmoult.com/tag/64bit/feed/" rel="self" type="application/rss+xml" />
	<link>http://thinkmoult.com</link>
	<description>Seriously who ever reads this description.</description>
	<lastBuildDate>Sun, 22 Jan 2012 04:58:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to install Chromium (Google Chome) on Gentoo Linux</title>
		<link>http://thinkmoult.com/2009/05/19/how-to-install-chromium-google-chome-on-gentoo-linux/</link>
		<comments>http://thinkmoult.com/2009/05/19/how-to-install-chromium-google-chome-on-gentoo-linux/#comments</comments>
		<pubDate>Tue, 19 May 2009 09:54:25 +0000</pubDate>
		<dc:creator>Dion Moult</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[32bit]]></category>
		<category><![CDATA[64bit]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[chromium]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[ebuild]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://thinkmoult.com/?p=643</guid>
		<description><![CDATA[Update: As of 27th August the buildbot now provides 64-bit builds. Thanks Jeff :) The other day I was surfing the web and read an article about Google Chrome in some sort of hacking competition &#8211; this then prompted me to check out Google&#8217;s progress on porting Google Chrome to Linux and Mac. For those [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p><em>Update: As of 27th August<a href="http://build.chromium.org/buildbot/snapshots/chromium-rel-linux-64/"> the buildbot now provides 64-bit builds</a>. Thanks Jeff :)</em></p>
<p><span>The other day I was surfing the web and read an article about Google Chrome in some sort of hacking competition &#8211; this then prompted me to check out Google&#8217;s progress on porting Google Chrome to Linux and Mac. For those that don&#8217;t know Google Chrome is Google&#8217;s attempt at making a browser. So far it seems like a really good attempt.</span></p>
<p><span>It seems as though lately the Linux builds (I ignored the Mac stuff &#8211; but I hear it&#8217;s getting good too) seem to be getting to a usable state. Definitely not finished, definitely buggy, but usable. So, like any other Gentooer, I began trying to find out how to get it.</span></p>
<h3><span>Step 1) Any ebuilds out there?</span></h3>
<p><span>Why bother do hard work myself if somebody&#8217;s already put it in portage? With some google-fu it seems as though there are a couple ebuilds. One by the French, and another by the Chinese. The French one (have not tested) is available in the `THE` overlay, available by doing </span><code>layman -a THE</code><span>. The chinese one seems to be called &#8220;Shellex-overlay&#8221;, and </span><a href="http://code.google.com/p/shellex-overlay/updates/list">can be accessed here</a><span>. I&#8217;m not quite sure what the French one does as the ebuild didn&#8217;t really like my amd64 system (note: Google Chrome only supports 32-bit as of writing). However the Chinese one fared better and provided me with a binary.</span><strong> If you are on a 32-bit system (x86) you should try those ebuilds.</strong></p>
<p><span>If you don&#8217;t want to compile from source, check the depencies list just a bit further down, then </span><a href="http://build.chromium.org/buildbot/snapshots/">check out the build bot</a><span>. </span><strong>Note: the build bot provides binaries for Windows, Linux AND Mac, so if you&#8217;re on a Mac, you&#8217;re in luck!</strong></p>
<p><span>For more information, you should visit the </span><a href="http://code.google.com/p/chromium/wiki/LinuxBuildInstructions">Chromium Linux Building page</a><span>.</span></p>
<p><span>Under `Prerequisites`, it lists down the dependencies as packaged by the Ubuntu system. Here is the list of dependencies as what Gentoo calls them:</span></p>
<ul>
<li>Python &gt;= 2.4</li>
<li><span>P</span><span>erl &gt;= 5.x </span></li>
<li><span>g</span><span>cc &gt;= 4.2 </span></li>
<li><span>b</span><span>ison &gt;= 2.3 </span></li>
<li><span>f</span><span>lex &gt;= 2.5.34 </span></li>
<li><span>g</span><span>perf &gt;= 3.0.3 </span></li>
<li><span>p</span><span>kgconfig &gt;= 0.20 </span></li>
<li><span>nss &gt;= 3.12 </span></li>
<li><span>gconf </span></li>
<li><span>glib</span></li>
<li><span>gtk-engines-murrine </span></li>
<li><span>nspr </span></li>
<li><span>corefonts</span></li>
<li><span>f</span><span>reetype </span></li>
<li><span>cairo </span></li>
<li><span>dbus</span></li>
</ul>
<p><span>Their version requirements are listed as needed.</span></p>
<h3><span>Step 2) What about 64-bit systems?</span></h3>
<p><span>There are several techniques of getting Chromium on a 64-bit system. However no matter what, </span><span>I highly recommend that you create a 32-bit chroot</span><span>. If you want to track each library individually and symlink your system to hell (as I first attempted), be my guest, but you&#8217;re wasting your time. So, first create a chroot by </span><a href="http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&amp;chap=2">following this nifty guide</a><span>.</span></p>
<p><span>Once you&#8217;ve got your chroot up, you can either try out the ebuilds I mentioned before, compile it yourself from source (via Google&#8217;s instructions) or be lazy and grab the binary from the Chromium build bot. I have tested the latter two techniques (can&#8217;t trust the French nor the Chinese!). To compile it yourself from source, follow the Chromium Linux Building page. Note: you will require quite a bit of HD space (the sources tarball itself is 640MB+), I also suggest you bootstrap from the tarball, the subversion checkout seems a lot longer and a waste of time really. Finally, if you&#8217;re just interested in getting the binary and running Chrome (not development), I would do use Release mode (see the building page for instructions). Of course, after making sure you have the dependencies I listed above, you should have Chrome compiled!</span></p>
<p><span>If you&#8217;re lazy and don&#8217;t want to compile, </span><a href="http://build.chromium.org/buildbot/snapshots/">there is a build bo</a><span>t.</span></p>
<h3><span>Step 3) Run Chromium on Linux!</span></h3>
<p><span>At this stage, you should have the Chrome binary (either by compiling from source or ebuild, or getting the build bot binary). Now you just have to run the program and enjoy. If you&#8217;re running using the chroot, you should use the xhost hack. Do </span><code>xhost local:localhost</code><span> outside the chroot, then try run the binary again. Obviously you don&#8217;t want to waste time setting up X in the chroot.</span></p>
<p><span>Finally, here is a screenshot of Chromium running on Fluxbox! (I normally use KDE, but I wanted a more lightweight WM when compiling Chromium) You might also consider doing <code>nice -n 10</code> when compiling if you want to continue doing your stuff. In fact, I&#8217;m running Chrome right now on KDE to write this post. It&#8217;s very fast, uses about 1% CPU, separates itself into different processes per tab, and so far seems pretty &#8220;stable&#8221;. However I have found that opening a file browse dialog (eg: in an upload form) makes Chromium jump up to about 50% CPU, which sucks.</span></p>
<p style="text-align: center;"><span><a href="http://upload.failnation.com/ubr_uploads/2009-05-17-204259_1280x800_scrot.png"><img class="aligncenter" title="Chromium on Gentoo Linux (Fluxbox)" src="http://upload.failnation.com/ubr_uploads/2009-05-17-204259_1280x800_scrot.png" alt="" width="491" height="307" /></a><br />
</span></p>
<p><span>Any thanks, issues or problems feel free to ask.</span><!--EndFragment--></p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://thinkmoult.com/2009/05/19/how-to-install-chromium-google-chome-on-gentoo-linux/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

