Translate

Archives

Installing Google Chrome on Fedora

Today I finally decided to drop using Firefox on my Linux systems and move to using the Google Chrome browser. I have been unhappy with Firefox for some time since design and marketing people seem to have taken control of the Firefox development process in the Firefox 3.5 days. The final straw for me was the recent EOL’ing of Firefox 4 after only a few months (I use a number of extensions that hook deep into Firefox) and the lack of websocket support (currently scheduled for Firefox 6).

Much to my surprise I discovered that the Chrome browser is not available for download from the Fedora 15 (Lovelock) repositories. While you can download an RPM from the Google repository and use it to install the Chrome browser , a better method is to use yum to download the Chrome browser from Google repository so that you could receive any new updates.

To download and install the 64-bit Chrome browser RPM:

# mkdir -p /opt/google/chrome
# wget -http://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

# rpm -qRp google-chrome-stable_current_x86_64.rpm
package google-chrome-stable_current_x86_64.rpm is not installed
rpmlib(VersionedDependencies) <= 3.0.3-1
lsb >= 3.2
libasound.so.2()(64bit)  
libcairo.so.2()(64bit)  
libcurl.so.4()(64bit)  
libgconf-2.so.4()(64bit)  
libnss3.so(NSS_3.12.3)(64bit)  
libpangocairo-1.0.so.0()(64bit)  
libsqlite3.so.0()(64bit)  
libbz2.so.1()(64bit)  
libXss.so.1()(64bit)  
libjpeg.so.62()(64bit)  
wget  
xdg-utils  
zlib  
/bin/sh  
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadIsBzip2) <= 3.0.5-1

# rpm -Uvh google-chrome-stable_current_x86_64.rpm


Note the dependencies on the xdg-utils, wget and zlib packages and a version of the redhat-lsb package which must be at least 3.2.

While you can download an RPM from the Google repository and use it to install the Chrome browser, a better method is to use yum to download the Chrome browser from Google repository so that you could receive any new updates.

To add a Google repository to a 64-bit Fedora 15 system, create a file called /etc/yum.repos.d/google.repo which contains the following:

[google]
name=Google
baseurl=http://dl.google.com/linux/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

To add a Google repository to a 32-bit Fedora 15 system, create a file called /etc/yum.repos.d/google.repo which contains the following:

[google]
name=Google
baseurl=http://dl.google.com/linux/rpm/stable/i386
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub


To import and install the public RPM signing key:

# wget https://dl-ssl.google.com/linux/linux_signing_key.pub
# rpm –import linux_signing_key.pub


To install the stable version of the Chrome browser:

# yum install google-chrome-stable


To invoke the Chrome browser:

$ /usr/bin/google-chrome


This is simply a symbolic link to /opt/google/chrome/google-chrome.

All the files relating to the Chrome browser are located under opt/google/chrome:

./chrome.pak
./libffmpegsumo.so
./google-chrome.desktop
./libnspr4.so.0d
./resources.pak
./product_logo_32.xpm
./product_logo_64.png
./product_logo_24.png
./libnss3.so.1d
./libssl3.so.1d
./product_logo_128.png
./xdg-mime
./libnssutil3.so.1d
./product_logo_32.png
./libsmime3.so.1d
./google-chrome
./libplc4.so.0d
./libpdf.so
./product_logo_22.png
./product_logo_256.png
./xdg-settings
./libbz2.so.1.0
./chrome-sandbox
./default-app-block
./libplds4.so.0d
./resources
./resources/docs_app
./resources/docs_app/24.png
./resources/docs_app/manifest.json
./resources/docs_app/32.png
./resources/docs_app/48.png
./resources/docs_app/128.png
./resources/inspector
./resources/inspector/Images
./resources/inspector/Images/thumbActiveVert.png
./resources/inspector/Images/consoleButtonGlyph.png
./resources/inspector/Images/recordToggledButtonGlyph.png
./resources/inspector/Images/disclosureTriangleSmallRight.png
./resources/inspector/Images/cookie.png
./resources/inspector/Images/statusbarBackground.png
./resources/inspector/Images/statusbarResizerVertical.png
./resources/inspector/Images/disclosureTriangleSmallDownWhite.png
./resources/inspector/Images/statusbarMenuButtonSelected.png
./resources/inspector/Images/debuggerStepOut.png
./resources/inspector/Images/clearConsoleButtonGlyph.png
./resources/inspector/Images/splitviewDimple.png
./resources/inspector/Images/timelinePillRed.png
./resources/inspector/Images/trackVert.png
./resources/inspector/Images/thumbHoriz.png
./resources/inspector/Images/profilesSilhouette.png
./resources/inspector/Images/searchSmallBrightBlue.png
./resources/inspector/Images/resourcesTimeGraphIcon.png
./resources/inspector/Images/thumbHoverVert.png
./resources/inspector/Images/treeDownTriangleWhite.png
./resources/inspector/Images/breakpointConditionalCounterBorder.png
./resources/inspector/Images/radioDot.png
./resources/inspector/Images/resourceDocumentIconSmall.png
./resources/inspector/Images/breakpointConditionalBorder.png
./resources/inspector/Images/disclosureTriangleSmallDown.png
./resources/inspector/Images/disclosureTriangleSmallRightDown.png
./resources/inspector/Images/resourceCSSIcon.png
./resources/inspector/Images/timelineIcon.png
./resources/inspector/Images/enableOutlineButtonGlyph.png
./resources/inspector/Images/back.png
./resources/inspector/Images/timelineBarBlue.png
./resources/inspector/Images/reloadButtonGlyph.png
./resources/inspector/Images/statusbarButtons.png
./resources/inspector/Images/resourceDocumentIcon.png
./resources/inspector/Images/recordButtonGlyph.png
./resources/inspector/Images/disclosureTriangleSmallRightBlack.png
./resources/inspector/Images/timelineHollowPillGray.png
./resources/inspector/Images/userInputIcon.png
./resources/inspector/Images/searchSmallGray.png
./resources/inspector/Images/whiteConnectorPoint.png
./resources/inspector/Images/popoverArrows.png
./resources/inspector/Images/timelineHollowPillGreen.png
./resources/inspector/Images/treeDownTriangleBlack.png
./resources/inspector/Images/statusbarButtonsChromium.png
./resources/inspector/Images/errorIcon.png
./resources/inspector/Images/statusbarMenuButton.png
./resources/inspector/Images/trackHoriz.png
./resources/inspector/Images/timelinePillGray.png
./resources/inspector/Images/timelineBarPurple.png
./resources/inspector/Images/scriptsIcon.png
./resources/inspector/Images/percentButtonGlyph.png
./resources/inspector/Images/timelineHollowPillBlue.png
./resources/inspector/Images/timelinePillBlue.png
./resources/inspector/Images/debuggerContinue.png
./resources/inspector/Images/debuggerStepInto.png
./resources/inspector/Images/statusbarBottomBackgroundChromium.png
./resources/inspector/Images/timelineCheckmarks.png
./resources/inspector/Images/thumbHoverHoriz.png
./resources/inspector/Images/paneSettingsButtons.png
./resources/inspector/Images/graphLabelCalloutLeft.png
./resources/inspector/Images/timelineBarOrange.png
./resources/inspector/Images/errorMediumIcon.png
./resources/inspector/Images/disclosureTriangleSmallRightDownWhite.png
./resources/inspector/Images/statusbarBottomBackground.png
./resources/inspector/Images/timelineDots.png
./resources/inspector/Images/treeRightTriangleWhite.png
./resources/inspector/Images/resourcesIcon.png
./resources/inspector/Images/debuggerStepOver.png
./resources/inspector/Images/userInputPreviousIcon.png
./resources/inspector/Images/statusbarResizerHorizontal.png
./resources/inspector/Images/warningIcon.png
./resources/inspector/Images/segmentHover.png
./resources/inspector/Images/segmentSelectedEndChromium.png
./resources/inspector/Images/glossyHeader.png
./resources/inspector/Images/userInputResultIcon.png
./resources/inspector/Images/disclosureTriangleSmallRightDownBlack.png
./resources/inspector/Images/segmentSelectedChromium.png
./resources/inspector/Images/popoverBackground.png
./resources/inspector/Images/sessionStorage.png
./resources/inspector/Images/segmentHoverEndChromium.png
./resources/inspector/Images/timelinePillPurple.png
./resources/inspector/Images/thumbActiveHoriz.png
./resources/inspector/Images/resourceJSIcon.png
./resources/inspector/Images/glossyHeaderSelected.png
./resources/inspector/Images/disclosureTriangleSmallRightWhite.png
./resources/inspector/Images/glossyHeaderSelectedPressed.png
./resources/inspector/Images/resourcePlainIconSmall.png
./resources/inspector/Images/databaseTable.png
./resources/inspector/Images/consoleIcon.png
./resources/inspector/Images/warningOrangeDot.png
./resources/inspector/Images/timelineBarYellow.png
./resources/inspector/Images/elementsIcon.png
./resources/inspector/Images/timelinePillGreen.png
./resources/inspector/Images/profileGroupIcon.png
./resources/inspector/Images/timelineBarGray.png
./resources/inspector/Images/auditsIcon.png
./resources/inspector/Images/glossyHeaderPressed.png
./resources/inspector/Images/segmentHoverEnd.png
./resources/inspector/Images/gearButtonGlyph.png
./resources/inspector/Images/paneBottomGrow.png
./resources/inspector/Images/searchSmallWhite.png
./resources/inspector/Images/timelineHollowPillRed.png
./resources/inspector/Images/profileIcon.png
./resources/inspector/Images/statusbarBackgroundChromium.png
./resources/inspector/Images/timelineBarGreen.png
./resources/inspector/Images/timelinePillOrange.png
./resources/inspector/Images/paneBottomGrowActive.png
./resources/inspector/Images/pauseOnExceptionButtonGlyph.png
./resources/inspector/Images/goArrow.png
./resources/inspector/Images/segmentEnd.png
./resources/inspector/Images/checker.png
./resources/inspector/Images/successGreenDot.png
./resources/inspector/Images/segment.png
./resources/inspector/Images/thumbVert.png
./resources/inspector/Images/forward.png
./resources/inspector/Images/breakpointsDeactivateButtonGlyph.png
./resources/inspector/Images/timelineHollowPillPurple.png
./resources/inspector/Images/profilesIcon.png
./resources/inspector/Images/programCounterBorder.png
./resources/inspector/Images/resourcesSilhouette.png
./resources/inspector/Images/resourcesSizeGraphIcon.png
./resources/inspector/Images/applicationCache.png
./resources/inspector/Images/excludeButtonGlyph.png
./resources/inspector/Images/treeUpTriangleBlack.png
./resources/inspector/Images/undockButtonGlyph.png
./resources/inspector/Images/treeRightTriangleBlack.png
./resources/inspector/Images/storageIcon.png
./resources/inspector/Images/scriptsSilhouette.png
./resources/inspector/Images/spinner.gif
./resources/inspector/Images/segmentChromium.png
./resources/inspector/Images/resourcePlainIcon.png
./resources/inspector/Images/enableSolidButtonGlyph.png
./resources/inspector/Images/timelineHollowPillOrange.png
./resources/inspector/Images/treeUpTriangleWhite.png
./resources/inspector/Images/searchSmallBlue.png
./resources/inspector/Images/warningsErrors.png
./resources/inspector/Images/warningMediumIcon.png
./resources/inspector/Images/largerResourcesButtonGlyph.png
./resources/inspector/Images/segmentSelected.png
./resources/inspector/Images/nodeSearchButtonGlyph.png
./resources/inspector/Images/segmentHoverChromium.png
./resources/inspector/Images/profileSmallIcon.png
./resources/inspector/Images/disclosureTriangleSmallDownBlack.png
./resources/inspector/Images/breakpointCounterBorder.png
./resources/inspector/Images/paneGrowHandleLine.png
./resources/inspector/Images/statusbarMenuButtonSelectedChromium.png
./resources/inspector/Images/dockButtonGlyph.png
./resources/inspector/Images/closeButtons.png
./resources/inspector/Images/debuggerPause.png
./resources/inspector/Images/timelineBarRed.png
./resources/inspector/Images/statusbarMenuButtonChromium.png
./resources/inspector/Images/segmentSelectedEnd.png
./resources/inspector/Images/grayConnectorPoint.png
./resources/inspector/Images/database.png
./resources/inspector/Images/localStorage.png
./resources/inspector/Images/toolbarItemSelected.png
./resources/inspector/Images/graphLabelCalloutRight.png
./resources/inspector/Images/timelinePillYellow.png
./resources/inspector/Images/splitviewDividerBackground.png
./resources/inspector/Images/breakpointBorder.png
./resources/inspector/Images/errorRedDot.png
./resources/inspector/Images/focusButtonGlyph.png
./resources/inspector/Images/timelineHollowPillYellow.png
./resources/inspector/Images/breakpointsActivateButtonGlyph.png
./resources/inspector/devtools.html
./resources/inspector/inspector.css
./resources/inspector/audits.css
./resources/inspector/helpScreen.css
./resources/inspector/inspector.html
./resources/inspector/devTools.css
./resources/inspector/heapProfiler.css
./resources/inspector/textViewer.css
./resources/inspector/popover.css
./resources/inspector/DevTools.js
./resources/inspector/inspectorSyntaxHighlight.css
./resources/gmail_app
./resources/gmail_app/24.png
./resources/gmail_app/manifest.json
./resources/gmail_app/32.png
./resources/gmail_app/48.png
./resources/gmail_app/128.png
./resources/calendar_app
./resources/calendar_app/24.png
./resources/calendar_app/manifest.json
./resources/calendar_app/32.png
./resources/calendar_app/48.png
./resources/calendar_app/128.png
./locales
./locales/en-GB.pak
./locales/te.pak
./locales/ru.pak
./locales/id.pak
./locales/th.pak
./locales/de.pak
./locales/sw.pak
./locales/es.pak
./locales/hr.pak
./locales/vi.pak
./locales/ar.pak
./locales/pl.pak
./locales/pt-PT.pak
./locales/fi.pak
./locales/en-US.pak
./locales/cs.pak
./locales/uk.pak
./locales/ro.pak
./locales/fr.pak
./locales/hi.pak
./locales/ko.pak
./locales/sv.pak
./locales/tr.pak
./locales/sk.pak
./locales/et.pak
./locales/mr.pak
./locales/sl.pak
./locales/lt.pak
./locales/lv.pak
./locales/pt-BR.pak
./locales/da.pak
./locales/fil.pak
./locales/fa.pak
./locales/sr.pak
./locales/bg.pak
./locales/ja.pak
./locales/nl.pak
./locales/it.pak
./locales/es-419.pak
./locales/el.pak
./locales/bn.pak
./locales/ta.pak
./locales/gu.pak
./locales/am.pak
./locales/ca.pak
./locales/he.pak
./locales/ml.pak
./locales/nb.pak
./locales/zh-CN.pak
./locales/kn.pak
./locales/zh-TW.pak
./locales/hu.pak
./chrome
./product_logo_16.png
./product_logo_48.png


I like this approach as it simplifies product installation or removal.

If you would wish to install the current beta or unstable versions of the Chrome browser, these are also available from the Google repository.

# yum install google-chrome-beta
# yum install google-chrome-unstable


By the way, while I have not tested it, these instructions should also work on previous versions of Fedora.

The only negative things that I can say about the Chrome browser is that (1) support for RSS feeds is frankly abysmal and (2) I do not like how it handles OpenSearch Description Documents (OSDD). I find myself reluctantly returning to Firefox when I wish to read the RSS feeds that I am subscribed to. None of the Chrome RSS extensions come close to the built-in RSS functionality in Firefox.

15 comments to Installing Google Chrome on Fedora

  • fee\

    You can download Google Chrome RPM from Google Chrome download page ( http://www.chromium.org/getting-involved/dev-channel ). It contains google-chrome.repo file.

    cat /etc/yum.repos.d/google-chrome.repo
    [google-chrome]
    name=google-chrome
    baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
    enabled=1
    gpgcheck=1

  • PH

    Hi,

    I have installed google chrome this way also – have you noticed the tiny font for the tabs and certain other messages?

    Is there anyway to change that do you know – because I have searched and not had any success in changing it

    Cheers!

  • Both the lastest Chromium snapshot and the stable Chromium releases are available for fedora here.

    http://repos.fedorapeople.org/

    • @Tim. Good information. Thanks. I rarely look there. For people not in the know, these are unofficial repositories provided as-is by Fedora contributors.

  • the other oddity,
    $ cp /opt/google/chrome/google-chrome.desktop ~/.config/autostart/
    fails to autostart chrome on boot?

    FF happily starts and some apps (gwibber) continue to use FF after
    setting Chrome as default browser.

    Something odd.

    • warrell

      Hi Dave,

      Did you find a solution to this? It seems that it works once and then the file google-chrome.desktop gets deleted….

      Weird

      BTW Thanks for all your excellent XSL work over the years :)

      Cheers

      Warrell

  • Dan Doel

    For those who aren’t fans of the terminal…

    I installed Chrome by downloading the RPM from the download link at google.com/chrome. That actually sets up the chrome repository approximately as shown in this post (similar to the Adobe flash RPM). There seem to be some differences with the GPG lines in google.repo, but that’s about it.

    I must say, that this sort of thing is possible (I hadn’t seen it in, say, Ubuntu, which is more aggressive about including non-free packages than Fedora) makes me somewhat hopeful for, for instance, commercial Linux gaming. Purchased CDs could come with packages that work with the package managers, allowing easy removal and configuration of a repository that would allow updates via the normal means. Instead of some ad-hoc installer, or a completely separate package management system (which pop up from time to time).

    • Technically there is no reason that all the Linux distributions could not agree on one package manager going forward. Doing so would be a major driver to increased Linux adoption. Is it likely to happen? No. Too many egos involved and investment in time and energy by certain individuals.

  • L. Sandmann

    Dear Sir,

    This is not a reply to all that linux stuff above. I simply wanted to thank You so much for the “Der Spiegel” firefox add-on. As far as the user is concerned it makes things much easier – regardless how much work this has been for the engineer.

    Since You’ve been developing these add-ons for quite a lot of newspapers worldwide, I don’t dare to ask if You could manage to do another one for German newspaper readers as well (?) I’d be glad to have one for “Frankfurter Allgemeine Zeitung” too. IMHO. the best German daily quality paper….

    So, could You, would You, PLEASE (!)

    Thanks and best wishes
    L. Sandmann

  • L. Sandmann

    Strange… HTTP Error 404 -file or directory not found- is shown, although “www.faz.net/s/homepage.html” is correct……..

  • L. Sandmann

    Quite an old system. WinXP (still too stupid for Linux…) Internet access per USB-Stick. Very slow and seems to depend on wheater conditions too. Probably that causes the problem… Anyway some of these days I kill that machine…
    You see, I’m not a technician at all…

    Is that what You asked for by questioning “WHERE” are you getting this error?

    Btw, You only should waste time on that, if You feel bored…

  • L. Sandmann

    PS: I intended to give your searchbar addon an estimation -roughly- translated as follows

    Super addon. Self explaining, does exactely what it is supposed to do, runs without problems. The author, having published a lot of searchbar addons allready, is kindly willing to develop other addons leadind to other newspaper websites on appropriate suggestion. Thankfully he developed an addon for “FAZ”.
    As good as it gets.
    -full “star voting”
    -> excuse my bad english….. I’m sorry, I’m out of practice…
    So if there are any complaints to this estimation. Simply let me know.

  • Alan

    I’m running 64-bit openSUSE with Gnome 3.
    Do you know of a way I could install Chromium (preferably unstable release) ?