How to install Google Chrome 51.0 in Linux
To Install Google Chrome 51.0 on RHEL/CentOS
Installation process of Google Chrome 51.0.2704.103 on RHEL/CentOS is discussed in this article.
To enable Google repository
Create a file called /etc/yum.repos.d/google-chrome.repo
[root@linuxhelp ~]# vim /etc/yum.repos.d/google-chrome.repo
Add the following lines into it.
[google-chrome] name=google-chrome baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
To Install Chrome Web Browser
To check the latest version available from the Google' s own repository, use the following command.
[root@linuxhelp ~]# yum info google-chrome-stable
Loaded plugins: fastestmirror, langpacks
http://centos.mirror.net.in/centos/7.2.1511/updates/x86_64/repodata/33f7b050e3563d56710c9e939ca7965afe852616f7af8b58339816eb7c6583d7-primary.sqlite.bz2: [Errno 14] curl#18 - " transfer closed with 4382107 bytes remaining to read"
Trying other mirror.
* base: centos-hn.viettelidc.com.vn
* extras: centos.excellmedia.net
* updates: centos-hcm.viettelidc.com.vn
google-chrome 3/3
Available Packages
Name : google-chrome-stable
Arch : x86_64
Version : 51.0.2704.103
Release : 1
Size : 47 M
Repo : google-chrome/x86_64
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.
Execute the following command and it will automatically install all required dependencies.
[root@linuxhelp ~]# yum install google-chrome-stable
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos-hn.viettelidc.com.vn
* extras: centos.excellmedia.net
* updates: centos-hcm.viettelidc.com.vn
Resolving Dependencies
--> Running transaction check
---> Package google-chrome-stable.x86_64 0:51.0.2704.103-1 will be installed
--> Processing Dependency: lsb > = 4.0 for package: google-chrome-stable-51.0.2704.103-1.x86_64
--> Processing Dependency: libXss.so.1()(64bit) for package: google-chrome-stable-51.0.2704.103-1.x86_64
--> Running transaction check
---> Package libXScrnSaver.x86_64 0:1.2.2-6.1.el7 will be installed
.
.
.
redhat-lsb-submod-multimedia.x86_64 0:4.1-27.el7.centos.1
redhat-lsb-submod-security.x86_64 0:4.1-27.el7.centos.1
spax.x86_64 0:1.5.2-13.el7
systemtap-sdt-devel.x86_64 0:2.8-10.el7
Complete!
To execute Google Chrome on RHEL/CentOS.
[root@linuxhelp ~]# wget http://chrome.richardlloyd.org.uk/install_chrome.sh
[root@linuxhelp ~]# chmod u+x install_chrome.sh
[root@linuxhelp ~]# ./install_chrome.sh
Richard Lloyd Google Chrome Script
./install_chrome.sh
Google Chrome Installer 7.24 on the x86_64 platform
(C) Richard K. Lloyd 2016
*** Changing working directory to /tmp/chrome_install ...
*** Checking for an update to install_chrome.sh ...
--2016-03-05 13:01:53-- http://chrome.richardlloyd.org.uk/version.dat
Connecting to chrome.richardlloyd.org.uk|193.110.246.53|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5 [text/plain]
Saving to: `version.dat'
100%[====================================================================================================================================================> ] 5 --.-K/s in 0s
2016-03-05 13:01:53 (1.14 MB/s) - `version.dat' saved [5/5]
.
.
--2016-03-05 13:01:54-- http://omahaproxy.appspot.com/all?os=linux& channel=stable
Resolving omahaproxy.appspot.com... 216.58.199.177, 2404:6800:4009:807::2011
Connecting to omahaproxy.appspot.com|216.58.199.177|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 319 [text/plain]
Saving to: `chrome_versions.csv'
100%[====================================================================================================================================================> ] 319 --.-K/s in 0s
2016-03-05 13:01:55 (54.2 MB/s) - `chrome_versions.csv' saved [319/319]
*** Latest google-chrome-stable version number is 51.0.2704.103 ...
*** Downloading google-chrome-stable_current_x86_64.rpm (please wait) ...
.
.
Saving to: `google-chrome-stable_current_x86_64.rpm'
100%[====================================================================================================================================================> ] 4,84,24,175 1.81M/s in 17s
2016-03-05 13:02:12 (2.68 MB/s) - `google-chrome-stable_current_x86_64.rpm' saved [48424175/48424175]
*** Google Chrome 51.0.2704.103 downloaded successfully ...
*** Installing Google Chrome 51.0.2704.103 RPM (please wait) ...
Preparing... ########################################### [100%]
1:google-chrome-stable ########################################### [100%]
*** Google Chrome 51.0.2704.103 was installed successfully ...
*** /opt/google/chrome tree contains 89 files totalling 177 MB ...
*** /tmp/chrome_install tree contains 1 files totalling 46 MB ...
Google Chrome 51.0.2704.103 and extra libraries were installed successfully.
Please run the browser via the ' google-chrome' command as a non-root user.
To update Google Chrome, run " yum update google-chrome-stable" or
simply re-run this script with " ./install_chrome.sh" .
To uninstall Google Chrome and its dependencies added by this script,
run " yum remove google-chrome-stable chrome-deps-stable" or " ./install_chrome.sh -u" .
To start browser with non-root user
[user1@linuxhelp ~]$ google-chrome & [2] 4671 [user1@linuxhelp ~]$ [1:1:0620/063230:ERROR:nacl_fork_delegate_linux.cc(315)] Bad NaCl helper startup ack (0 bytes)
Now run the above command as root user to avoid error.
[root@linuxhelp ~]# google-chrome --no-sandbox --user-data-dir
Welcome screen of Chrome web browser.
Now you can start to explore www.linuxhelp.com with cool Chrome web browser.
Tag :
Browser
Q
How to install google chrome by using yum command?
A
you can install google chrome by following command
# yum install google-chrome-stable
# yum install google-chrome-stable
Q
what are all the content to be added in repository to install google chrome?
A
by using following contetnts to be added in repository to install google chrome,
# vim /etc/yum.repos.d/google-chrome.repo
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
# vim /etc/yum.repos.d/google-chrome.repo
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
Q
where to add new repository contents in Linux?
A
you can use the following command to add repository content
# vim /etc/yum.repos.d/google-chrome.repo
# vim /etc/yum.repos.d/google-chrome.repo
Q
How to install google chrome beta version?
A
You have to use "yum install google-chrome-beta" command to get beta version
# wget http://chrome.richardlloyd.org.uk/install_chrome.sh