LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-03-2009, 09:40 AM   #1
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Google Chrome SlackBuild


It being a slow day, I decided to write a SlackBuild for Google Chrome's latest developer release. I've uploaded it to:

ftp://ftp.noc.soton.ac.uk/pub/pwc101...google-chrome/

It'll only work on slackware-current due to the lzma compression using in the .deb file, though if you're desperate to run it on 12.2, I'm sure you'll be able to decompress the data.tar.lzma file, perhaps using current's xz.SlackBuild: ftp://ftp.osuosl.org/pub/slackware/s...t/source/a/xz/

Google Chrome requires GConf and ORbit2, both of which are available at SlackBuilds.org.

It can enable plugin support in Chrome (pass FLASHSUPPORT=yes), and if you want that functionality, you'll need to have the Flash plugin installed. I've used the package created by the SlackBuilds.org flash-player-plugin script. Basically, you need to have libflashplayer.so in /usr/lib/mozilla/plugins, otherwise it won't work. If you want to launch it from the command line, use:
Code:
google-chrome --enable-plugins
The launcher in the KDE menu (and XFCE's too, though I haven't checked) should automatically include the --enable-plugins flag.

The script is 64-bit aware, but I don't have a 64-bit system to hand upon which I can test it, so if someone's feeling inclined to do so, perhaps they could let me know if it works.

Any other thoughts are welcome
 
Old 08-03-2009, 11:32 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,096

Rep: Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173
tnx pwc, but I have partial bad news.
using your slackbuild I discovered the google-chrome-unstable_current_amd64.deb looks like a fake 64bit package: it has only 32bit libs and it's asking for gconf and orbit2 32bit libs.
Code:
$ file /opt/google/chrome/chrome                                                                                                                                 
/opt/google/chrome/chrome: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped
maybe they'll release a real 64bit version in the future (or, maybe, in the meantime, I'll try to prepare some compat libs).

Last edited by ponce; 08-03-2009 at 11:40 AM.
 
Old 08-03-2009, 11:38 AM   #3
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Original Poster
Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by poncez View Post
tnx pwc, but I have partial bad news.
using your slackbuild I discovered the google-chrome-unstable_current_amd64.deb looks like a fake 64bit package: it has only 32bit libs and it's asking for gconf and orbit2 32bit libs.
maybe they'll release a real 64bit version in the future.
Thanks for looking into it. I thought that would be the case since all the documentation on the website talks of there being no 64-bit version available.

In which case, I don't know why they even bothered to release an -amd64.deb file in the first place. Seems a little strange if all it's going to do is require 32-bit libraries anyway...

Oh well. I'll put a note in the README file that it's a pseudo-64-bit build, but that you'll have to have 32-bit compatibility libraries installed.

I've also found an srware-iron linux build, but it seems to not like the version of libnss packaged in the seamonkey package -current has, so that may be a non-starter. Also, they're a couple of releases behind, so things are likely to be pretty unstable. Finding their linux source code is proving difficult, as I'd really like to be able to build this from source rather than shuffling binaries around.

Perhaps I'll have a go at building Chromium from source tonight...
 
Old 08-03-2009, 11:55 AM   #4
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
So, how well does Chrome work? Is it fast and stable? I tried it on Windows but ended up sticking with Firefox. Chrome lacks Firefox's (and Seamonkey's) killer feature as far as I can tell: the ability to change the page style (CSS) on the fly, or get rid of it entirely. I love going to the view menu -> style -> no style when I hit pages that just look awful.

Other than that, I thought Chrome's performance was okay, and it's Javascript performance was pretty good.

I'm interested to see how well it works on Linux.

Regards,
 
Old 08-03-2009, 12:03 PM   #5
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Original Poster
Rep: Reputation: 128Reputation: 128
Startup times under a virtual machine were better than Firefox's (qualitatively). As for styles and the like, it's still not got the fine grained control Firefox has, which is fair enough, as I don't think that's where they're trying to go. Not to mention this is a very immature project compared with Firefox, so Firefox is bound to have more features. My brief experience of it appears positive though, in terms of stability and speed.

However, the thing that bugs me most about it is the usage stats they collect, which is why I'm trying to find a build of SRWare's Iron that'll run on current (their most recent offering appears to be 3.0.189.0 compared with that build which is 3.0.196.0. Things like flash don't work in the Iron build (I'm told) whereas they do in the Chrome build.
 
Old 08-11-2009, 12:12 PM   #6
brokndodge
LQ Newbie
 
Registered: May 2006
Posts: 2

Rep: Reputation: 0
For some reason the nss libraries packaged with firefox can crash chrome. It's better to use connie's mozilla-nss package from here:
http://connie.slackware.com/~alien/s...-nss/pkg/12.2/

I've also hacked together an install script for VectorLinux (based on Slackware) that wgets everything and handles the dependencies. I know, it's not the Slackware way, but it works well. You might be able to make the right modifications to get it to work on slackware. requires slapt-get for the tests and for lzma and GConf, GConf depends on Orbit, so slapt-get should pull it as well. Here's my script:

http://forum.vectorlinux.com/index.p...66103#msg66103

For those that are interested, here's the complete log of my adventure in getting Chrome to install on Vector.

http://forum.vectorlinux.com/index.php?topic=10210.0
 
Old 08-11-2009, 12:21 PM   #7
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Original Poster
Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by brokndodge View Post
For some reason the nss libraries packaged with firefox can crash chrome. It's better to use connie's mozilla-nss package from here:
http://connie.slackware.com/~alien/s...-nss/pkg/12.2/

I've also hacked together an install script for VectorLinux (based on Slackware) that wgets everything and handles the dependencies. I know, it's not the Slackware way, but it works well. You might be able to make the right modifications to get it to work on slackware. requires slapt-get for the tests and for lzma and GConf, GConf depends on Orbit, so slapt-get should pull it as well. Here's my script:

http://forum.vectorlinux.com/index.p...66103#msg66103

For those that are interested, here's the complete log of my adventure in getting Chrome to install on Vector.

http://forum.vectorlinux.com/index.php?topic=10210.0
Thanks for the links.

At first, I did use the mozilla-nss build you linked to, but saw that it was possible to link against the existing nss libraries in firefox; this struck me as a better solution for two reasons:

1. The list of dependencies would be one package shorter.
2. A stock Slackware install would already include some of the necessary libraries.

However, if that causes Chrome to crash more frequently, then I'll have a look at using the mozilla-nss package instead.

To be honest, I've not really used Chrome that much since its data collection aspect still bothers me a bit. I'm waiting on Iron to get a newer Linux version out (at least build 3.0.196.0), then I'll probably take another look at it.

However, Chrome is fast, there's no denying that. But it also does less than Firefox, which I imagine contributes to that difference.
 
Old 08-12-2009, 09:13 AM   #8
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by pwc101 View Post
To be honest, I've not really used Chrome that much since its data collection aspect still bothers me a bit.
You mentioned that before. What data collection does Chrome do?

Quote:
However, Chrome is fast, there's no denying that. But it also does less than Firefox, which I imagine contributes to that difference.
That, for me, is the crux of the issue. If it does less, or at least doesn't do what I want, then I won't use it. My testing in Windows showed Chrome to be a neat browser, but not a great one.
 
Old 08-12-2009, 09:24 AM   #9
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Original Poster
Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by Lufbery View Post
You mentioned that before. What data collection does Chrome do?
According to SRWare's Iron page, the following is collected. This is what they remove when they patch the Chromium source code:
Quote:
Originally Posted by http://www.srware.net/en/software_srware_iron_chrome_vs_iron.php
Client-ID: Chrome creates a unique ID through which a user can be theoretically identified.

Timestamp: Chrome remembers up to the second exactly when the software was installed.

Suggest: Depending on the configuration, each time you put something in the address line, this information is sent to Google to provide suggestions.

Alternate Error Pages: Depending on the configuration, if you have typed a false address in the adress bar, this is sent to Google and you get an error message from Google's servers.

Error Reporting: Depending on the configuration, details about crashes or failures are sent Google's servers.

RLZ-Tracking: This Chrome-function transmits information in encoded form to Google, for example, when and where Chrome has been downloaded.

Google Updater: Chrome installs a updater, which loads at every Windows in background.

URL-Tracker: Calls depending on the configuration five seconds after launch the Google homepage opens in background
I don't have anything to hide, and my browsing habits are spectacularly uninteresting, really, but it's the principle of the matter more than anything.
 
Old 09-20-2009, 03:22 PM   #10
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700

Rep: Reputation: 43
Today I stumbled upon the Chromium Slackware build on Slacky-eu.
Installed it (and it's many dependencies...) and surfed the web with it.
The start-up is fast, but the rendering of the pages isn't really faster IMHO. In fact, on this site, it's slower.
Chromium is light, but annoyingly "unbloated". Try to autoscroll, change the fonts, block adds. It's just not there. Maybe this will all be present in Chromium some day, but at the moment, it's just not my thing.
Haven't had any crashes though, not even with Flash...

BTW, I made a Firefox search plugin for Slacky-eu that enables you to search the SW 13 repositories on their site, you can find it at Mycroft's.

Last edited by adriv; 09-20-2009 at 03:26 PM.
 
Old 10-03-2009, 08:53 AM   #11
neymac
Member
 
Registered: May 2009
Distribution: Slackware64-14.1
Posts: 138

Rep: Reputation: 19
Smile Search plugins for google-chrome

Quote:
Originally Posted by adriv View Post
BTW, I made a Firefox search plugin for Slacky-eu that enables you to search the SW 13 repositories on their site, you can find it at Mycroft's.
Thanks for the search plugins for Slack-eu, I use them with Google-chrome 4.0.202.2 / Slackware-12.2 (with some edit I can search Slackware-13.0 or 12.2).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Google Chrome + Ubuntu camh Linux - Software 3 08-01-2009 04:44 AM
LXer: Google Chrome OS: I don't think so LXer Syndicated Linux News 0 07-16-2009 04:30 PM
LXer: Even more speculation on Google Chrome OS LXer Syndicated Linux News 0 07-09-2009 10:30 PM
LXer: Google Chrome 2.0 released LXer Syndicated Linux News 0 05-22-2009 09:40 AM
Google Earth Slackbuild Hydroksyde Slackware 5 06-13-2006 12:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration