How to install Google Chrome on Slackware 13 GNU/Linux
By Arnaud Dupuis on Wednesday 9 December 2009, 11:10 - General - Permalink
Hi,
The topic have been treated already on the internet but since the official build of Google Chrome only landed few hours ago, some extra informations and "re-post" cannot be bad.
So ! Google Chrome is not packaged for Slackware GNU/Linux distributions, well... That's not completely unexpected. And it is not packaged as a universal GNU/Linux binary either, which is more troublesome. Anyway here is my 2 ways to install Google Chrome on Slackware 13.
Important: I made everything on my EeePC (since
I'm currently in holidays snowboarding in the French Alps) which runs
a Slackware 13 x86, but everything should be exactly the same on Slackware64. I
also have to warn you about my own install method : it's dirty and not
especially quick 
Method 1:
My own method, it's what I used to install Chrome as soon as I got the Google's email telling me the beta version of Chrome official Linux build was out in the wild ! So it's pretty dirty, and not the quickest way to do it. It's how I installed it even before thinking about looking at the web to see if something have been done by somebody else. You have been warned.
So first, download the Fedora RPM (32 or 64 bits), then run rpm2tgz :
su -c "rpm2tgz google-chrome-beta_current_i386.rpm"
Then install the resulting package. Do not waste your time to launch it, it will not start. For me the first reason is : I have not installed seamonkey and I miss the libnss3, so a quick sprint to slackbuilds.org and I had the mozilla-nss package installed (compiling and installing a package from a slackbuild script is very well documented on slackbuilds.org).
Almost, but it does not launch... The reason is, some poor links against libnss3. Well, at this point, I know I will not back off ! Let's shoot some ln shots !
ln -s /usr/lib/libnss3.so /usr/lib/libnss3.so.1dln -s /usr/lib/libnssutil3.so /usr/lib/libnssutil3.so.1dln -s /usr/lib/libsmime3.so /usr/lib/libsmime3.so.1dln -s /usr/lib/libssl3.so /usr/lib/libssl3.so.1dln -s /usr/lib/libplds4.so /usr/lib/libplds4.so.0dln -s /usr/lib/libplc4.so /usr/lib/libplc4.so.0dln -s /usr/lib/libnspr4.so /usr/lib/libnspr4.so.0d
If you are running a Slackware 64, just replace /usr/lib/ by /usr/lib64/ and
if you are using this way to install Google Chrome, bookmark this post to be
able to clean your system 
If you are not very fond of the manual linking (you are a wise person), please follow the Method 2 !
Method 2:
Well, the result is the same : you will get a working Google Chrome. The path to this result is considerably easiest and quickest (given the fact you have libnss3 on your system) :
Go to slackbuilds.org and get the Google Chrome slackbuild, install it (please refer to Method 1 for the link to the howto use a slackbuild).
That's all !
As a conclusion I would say that there is the equivalent of Method 1 for the
Debian 5 package, but the Slackbuild do it better than I care to explain

Enjoy Google Chrome and do not hesitate to give your feedback on it in the comments. So far for me, the difference in performance and CPU usage with Firefox on my EeePC is amazing ! I could barely run 4 tabs in Firefox, and look at the screenshot ! With 9 opened tabs it's still amazingly fast ! I will benchmark it against Fennec soon !
Arnaud Dupuis


Comments
Just note on slackware64 13:
ln -s /usr/lib64/seamonkey/libnss3.so /usr/lib64/libnss3.so.1d
ln -s /usr/lib64/seamonkey/libnssutil3.so /usr/lib64/libnssutil3.so.1d
ln -s /usr/lib64/seamonkey/libsmime3.so /usr/lib64/libsmime3.so.1d
ln -s /usr/lib64/seamonkey/libssl3.so /usr/lib64/libssl3.so.1d
ln -s /usr/lib64/seamonkey/libplds4.so /usr/lib64/libplds4.so.0d
ln -s /usr/lib64/seamonkey/libplc4.so /usr/lib64/libplc4.so.0d
ln -s /usr/lib64/seamonkey/libnspr4.so /usr/lib64/libnspr4.so.0d
But I'm not able to run Chrome because of dependency on /usr/lib64/libgconf-2.so.4. Gconf is part of Gnome, isn't it?
chrome: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
Any sugestion?
Yes you just miss GConf which is available from Slackbuilds.org at :
http://slackbuilds.org/repository/1...
The error should have disappeared once you install this one.
Arnaud Dupuis
This is the greatest thing that i was looking for , thanks a lot.
You are very welcome
i used the slackbuild, but i keep getting this message
error while loading shared libraries: libnssutil3.so.1d: cannot open shared object file: No such file or directory
am i missing something? thanks
Even I was facing the same error but after installing mozilla-nss I do not see the error anymore.
matt, you are indeed missing the mozilla-nss package.
You can find the direct link into the post, but since I am super kind here it is :
http://slackbuilds.org/repository/1...
Enjoy !
i have the same problem, cant find libnssutil
thx for the info. its very helpful for me
You're welcome ! Glade to be of some help
I've used method 2 and when i try to run chrome i get the following message:
bash-3.1$ /usr/bin/google-chrome: /opt/google/chrome/libnss3.so.1d: version `NSS_3.12' not found (required by /usr/bin/google-chrome)
and i'm not quite sure what that's about...
Hi Lortian,
Congratulation ! You just ran into the "miss libnss dependency" problem
Just install libnss from Slackbuild.org (search for the links in the post and in the comments) and you'll have a working chrome.
Hey there,
I followed method two but got into the missing libs error messages, so I looked at method one and installed the packages:
-mozilla-nss
-Orbit2
-GConf
from slackbuilds.org but am still running into this error here:
/usr/bin/google-chrome: /usr/lib/libz.so.1: no version information available (required by /usr/bin/google-chrome)
/usr/bin/google-chrome: /usr/lib/libpng12.so.0: no version information available (required by /usr/bin/google-chrome)
/usr/bin/google-chrome: /opt/google/chrome/libnss3.so.1d: version `NSS_3.12' not found (required by /usr/bin/google-chrome)
I repeat - I installed nss and linked the files as shown in method 1. Any ideas/advice are much appreciated thank you
Hi,
this one is very weird, only thing I can think about is about the version of your Slackware : do you run a 32 or 64 bits version ? And what about Chrome is it the 32 or 64 version you got ?
From what you posted it looks like you are using a 32 bits Slackware, but could you confirm this to me please ?
Just thought I'd pop in to mention I was getting the exact same errors as Specter1981. Looking at my /opt/google/chrome directory I found seven symlinks pointing at files in /usr/lib/seamonkey. Removing these made things better. I still get the messages about libz and libpng but Chrome seems to run nicely anyway.
Hi again,
Thank you for the replies. I can confirm I am using a 32 bit system, slackware 13.
As for chrome's version, it's the one you linked in the post, from slackbuild, the one that repackages the deb release.
Will try to look for the symlinks Johannes mentionned and get back here.
Thanks.
Ok so I verified what was suggested and indeed I found some links to seamonkey. I removed them and replaced with symlinks to the files from /usr/lib and even though the error messages are the same at least now I have a working google-chrome.
Now all I need is to find a way for it to render fonts correctly, as firefox does, and I am set!
Thanks a lot, after following the method 2, and reading all the posts from people that had the same problems that me, i finished installing correctly my google-chrome con slackware!. Thanks everyone!
Hi,
you are very welcome TOmas
Specter1981, sorry I kind of was late to help you, but in the end you found the solution alone so it's even greater
(how to not found yourself guilty,
part one ^^)
Arnaud
I have this problem with the second method:
My arch is x86_64, so I did
# ARCH=x86_64 ./google-chrome.SlackBuild
I got this output:
no entry control.tar.gz in archive
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
no entry data.tar.lzma in archive
lzma: (stdin): File format not recognized
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
Hum... That's weird, I cannot reproduce your issue, I'll look at this deeper tonight.
Arnaud
thanks ! works fine 4 me
creating que symblinks was all
thanks ! works fine 4 me <img src="/themes/default/smilies/wink.png" alt=";)" class="smiley" /> creating que symblinks was all
+1000
Hi there,
that's a nice HowTo you wrote there, but I got stuck on some problem: while building the mozilla-nss I get some error like this
"usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory"
after googleing I know that the glibc-devel 32bit seams to be missing on my 64bit machine.
Any hint would be helpfull.
Thanx.
This is about installing on a clean Slackware 13? Nothing about installing:
GConf,
glib-2.0 > 2.14.0
gio-2.0 >= 2.25.9
gthread-2.0
gmodule-2.0 >= 2.7.0
gobject-2.0 >= 2.7.0
ORBit-2.0 >= 2.4.0,
etc.
before Chrome?