Install Google Chrome on Fedora 31/30, CentOS/RHEL 8/7.7 - Comment Page: 13

This guide explains howto install Google Chrome Web browser on Fedora 31/30/29/28 and CentOS/Red Hat (RHEL) 8.0/7.7. Best way to install and keep up-to-date with Google Chrome browser is use Google's own YUM/DNF repository. Install Google Chrome on Fedora 31/30/29/28, CentOS 8/7.7, Red Hat (RHEL) 8/7.7 [inttf_post_ad1] 1. Change to root user. sudo -i ## OR ## su - 2. Enable Google YUM repository Note: Google Chrome Linux version doesn't get any 32-bit (x86) updates and 32-bit repo is also removed. If you have 32-bit version installed, then you can use it, but you can't get security updates or other updates anymore. Fedora 31/30/29/28 dnf install...

365 comments on “Install Google Chrome on Fedora 31/30, CentOS/RHEL 8/7.7 - Comment Page: 13

1 11 12 13
    1. thank for this post.

      Reply
      • Hi Stanley Dal,

        Yes you get 404 if you try to access it using your browser. This is just Google’s style to configure their servers, you can only access files what you really need, maybe there is not even any real files or directories. Like http://dl.google.com/linux/chrome/rpm/stable/x86_64/repodata/repomd.xml could be just alias to some script which generate it and everything works normally with dnf/yum, and even with browser, if you know what you are looking for.

        Reply
    2. centos 7 use this repo,and run shell
      `
      yum install google-chrome-stable

      `
      error happened
      `
      Resolving Dependencies
      –> Running transaction check
      —> Package google-chrome-stable.x86_64 0:70.0.3538.77-1 will be installed
      –> Processing Dependency: liberation-fonts for package: google-chrome-stable-70.0.3538.77-1.x86_64
      –> Finished Dependency Resolution
      Error: Package: google-chrome-stable-70.0.3538.77-1.x86_64 (google-chrome)
      Requires: liberation-fonts
      You could try using –skip-broken to work around the problem
      You could try running: rpm -Va –nofiles –nodigest
      `

      Reply
      • Hi tcl,

        Just tested on CentOS 7 and it works normally. Liberation-fonts found in base repo:

        yum info liberation-fonts
        ...
        Available Packages
        Name        : liberation-fonts
        Arch        : noarch
        Epoch       : 1
        Version     : 1.07.2
        Release     : 16.el7
        Size        : 13 k
        Repo        : base/7/x86_64
        Summary     : Fonts to replace commonly used Microsoft Windows fonts
        URL         : http://fedorahosted.org/liberation-fonts/
        License     : Liberation
        Description : 
                    : The Liberation Fonts are intended to be replacements for the three
                    : most commonly used fonts on Microsoft systems: Times New Roman,
                    : Arial, and Courier New.
                    : 
                    : Meta-package of Liberation fonts which installs Sans, Serif, and
                    : Monospace, Narrow families.

        Btw. this is Google’s official repo.

        Reply
    3. thank’s for the command i install chrome on fedora 29 work fine

      Reply
    4. Download with YUM was successful in getting Chrome installed on Fedora 29. Now, I can get my classes to work with video and audio to synchronize correctly on this old laptop Compaq – CQ50 with celeron CPU Intel inside and 2.9 GB RAM. Firefox browser has to many bugs in it as of this writing. Google Chrome is becoming a better Browser these days and the developers get better raises then other companies.

      Reply
      • Hi Steven,

        Sorry, but you are wrong (at least currently). Actually Google use here http url and yes it works totally fine with dnf and yum.

        Just checked Google’s RPM and their own cron script produces exactly same repo file with http:

        ...
        REPOCONFIG="http://dl.google.com/linux/chrome/rpm/stable"
        ...
        DEFAULT_ARCH="x86_64"
        YUM_REPO_FILE="/etc/yum.repos.d/google-chrome.repo"
        ZYPPER_REPO_FILE="/etc/zypp/repos.d/google-chrome.repo"
        URPMI_REPO_FILE="/etc/urpmi/urpmi.cfg"
        
        install_yum() {
          install_rpm_key
        
          if [ ! "$REPOCONFIG" ]; then
            return 0
          fi
        
          if [ -d "/etc/yum.repos.d" ]; then
        cat > "$YUM_REPO_FILE" << REPOCONTENT
        [google-chrome]
        name=google-chrome
        baseurl=$REPOCONFIG/$DEFAULT_ARCH
        enabled=1
        gpgcheck=1
        gpgkey=https://dl.google.com/linux/linux_signing_key.pub
        REPOCONTENT
          fi
        }
        

        It uses http version, not https!

        And if you run following commands with http version, then you see that it's working normally:

        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
        gpgkey=https://dl.google.com/linux/linux_signing_key.pub
        
        dnf clean --repo google-chrome all
        5 files removed
        
        dnf update --repo google-chrome --refresh
        google-chrome                                   1.6 kB/s | 3.4 kB     00:02    
        Dependencies resolved.
        Nothing to do.
        Complete!
        Reply
    5. This does not work, I get this error message:

      Please test before you post.


      Last metadata expiration check: 0:03:19 ago on Wed 30 Oct 2019 07:48:38 AM MDT.
      No match for argument: google-chrome-stable
      Error: Unable to find a match: google-chrome-stable

      I ran the following three commands:

      !/bin/bash

      dnf -y install fedora-workstation-repositories

      dnf config-manager –set-enabled google-chrome

      dnf install google-chrome-stable

      Reply
      • Hi,

        This works normally for me, please try to run dnf clean all and try again.

        If you still have problems, please post output of following commands:

        dnf repolist
        
        dnf info google-chrome-stable

        Output should be something like:

        dnf repolist
        Last metadata expiration check: 0:02:05 ago on Thu 31 Oct 2019 11:04:16 AM EET.
        repo id                     repo name                                     status
        *fedora                     Fedora 31 - x86_64                            56,252
        *fedora-modular             Fedora Modular 31 - x86_64                       142
        google-chrome               google-chrome                                      3
        *rpmfusion-free             RPM Fusion for Fedora 31 - Free                  588
        *rpmfusion-free-updates     RPM Fusion for Fedora 31 - Free - Updates         10
        *rpmfusion-nonfree          RPM Fusion for Fedora 31 - Nonfree               218
        *rpmfusion-nonfree-updates  RPM Fusion for Fedora 31 - Nonfree - Updates       4
        *updates                    Fedora 31 - x86_64 - Updates                   2,642
        *updates-modular            Fedora Modular 31 - x86_64 - Updates             141
        
        dnf info google-chrome-stable
        Last metadata expiration check: 0:01:06 ago on Thu 31 Oct 2019 11:04:16 AM
        Installed Packages
        Name         : google-chrome-stable
        Version      : 78.0.3904.70
        Release      : 1
        Architecture : x86_64
        Size         : 214 M
        Source       : google-chrome-stable-78.0.3904.70-1.src.rpm
        Repository   : @System
        From repo    : google-chrome
        Summary      : Google Chrome
        URL          : https://chrome.google.com/
        License      : Multiple, see https://chrome.google.com/
        Description  : The web browser from Google
                     : 
                     : Google Chrome is a browser that combines a minimal design with
                     : sophisticated technology to make the web faster, safer, and
                     : easier.
        Reply
    6. This is so good really helpful

      Reply
    7. Hello,
      I appreciate your article. I was able to install Google Chrome using the information provided. But, I would suggest that maybe you should not assume every fedora user is a Gnome-Shell user. The workstation repository is not a fit for all other desktop environments.

      Reply
1 11 12 13

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close