Tuesday, September 27, 2016

Installing Google Chrome on Oracle Linux...

These steps are for Oracle Linux 64 bit:

Create a file google.repo under /etc/yum.repos.d/ folder with the following content.

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

Save the file and execute the below command to install Chrome:

# yum install google-chrome-stable

Accept the prompts and once done you will see Chrome under Applications/Internet

Edit:
Update as of 12/03/2018:
Looks like something broke in Oracle Linux 7.6 as my above mentioned was not successful in my new install.

I was getting the below error:

Error: Package: google-chrome-stable-70.0.3538.110-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

Here is what made me going:

1] in the google.repo file, replace x86_64 with $basearch
baseurl=https://dl.google.com/linux/chrome/rpm/stable/$basearch
2]Using wget with Oracle Linux 7:

# wget -O /etc/yum.repos.d/public-yum-ol7.repo http://yum.oracle.com/public-yum-ol7.repo  

3] Edit the file /etc/yum.repos.d/public-yum-ol7.repo
    set 1 to enabled flag for the below sections:
    [ol7_software_collections]
    [ol7_latest]
4] run yum install scl.utils
    #yum install scl.utils

5] now run yum install google-chrome-stable




No comments:

Post a Comment