Blog
1) Change to root user by using any of below linux commands.
$ sudo -i
$ su -Output:
[root@localhost ~]#
2) Create a repo file as google-chrome.repo under '/etc/yum.repos.d/' using either cat or vi commands.
[root@localhost ~]#cat << EOF > /etc/yum.repos.d/google-chrome.repo [google-chrome] name=google-chrome - \$basearch 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 EOF
3) Different chrome versions installation on different environments.
Install google chrome stable version on fedora 26 using below command.
dnf install google-chrome-stable
Install google chrome beta version on fedora 26.
dnf install google-chrome-beta
Install google chrome unstable version on fedora 26.
dnf install google-chrome-unstable
Install google chrome stable version on CentOS / RHEL 7.4.
yum install google-chrome-stable
Install google chrome beta version on CentOS / RHEL 7.4.
yum install google-chrome-beta
Install google chrome unstable version on CentOS / RHEL 7.4.
yum install google-chrome-unstable
Output:
[root@localhost ~]# dnf install google-chrome-stable Fedora 26 - x86_64 - Updates 4.5 MB/s | 17 MB 00:03 Fedora 26 - x86_64 7.5 MB/s | 53 MB 00:07 google-chrome - x86_64 22 kB/s | 3.8 kB 00:00 Last metadata expiration check: 0:00:00 ago on Tue 14 Nov 2017 09:23:20 PM IST. Dependencies resolved. ================================================================================================================ Package Arch Version Repository Size ================================================================================================================ Installing: google-chrome-stable x86_64 62.0.3202.94-1 google-chrome 47 M Installing dependencies: at x86_64 3.1.20-3.fc26 fedora 77 k ed x86_64 1.14.1-2.fc26 fedora 79 k esmtp x86_64 1.2-9.fc26 updates 56 k libXScrnSaver x86_64 1.2.2-11.fc26 fedora 27 k libesmtp x86_64 1.0.6-11.fc26 fedora 64 k liblockfile x86_64 1.09-5.fc26 fedora 27 k m4 x86_64 1.4.18-3.fc26 fedora 217 k mailx x86_64 12.5-23.fc26 updates 257 k ncurses-compat-libs x86_64 6.0-8.20170212.fc26 fedora 311 k patch x86_64 2.7.5-4.fc26 fedora 122 k redhat-lsb-core x86_64 4.1-34.fc26 fedora 42 k redhat-lsb-submod-security x86_64 4.1-34.fc26 fedora 19 k spax x86_64 1.5.3-8.fc26 fedora 211 k util-linux-user x86_64 2.29.1-2.fc26 fedora 89 k Transaction Summary ================================================================================================================ Install 15 Packages Total download size: 48 M Installed size: 179 M Is this ok [y/N]: y Downloading Packages: (1/15): libXScrnSaver-1.2.2-11.fc26.x86_64.rpm 49 kB/s | 27 kB 00:00 (2/15): redhat-lsb-core-4.1-34.fc26.x86_64.rpm 71 kB/s | 42 kB 00:00 (3/15): at-3.1.20-3.fc26.x86_64.rpm 186 kB/s | 77 kB 00:00 (4/15): util-linux-user-2.29.1-2.fc26.x86_64.rpm 177 kB/s | 89 kB 00:00 (5/15): ed-1.14.1-2.fc26.x86_64.rpm 415 kB/s | 79 kB 00:00 (6/15): m4-1.4.18-3.fc26.x86_64.rpm 252 kB/s | 217 kB 00:00 (7/15): ncurses-compat-libs-6.0-8.20170212.fc26.x86_64.rpm 382 kB/s | 311 kB 00:00 (8/15): redhat-lsb-submod-security-4.1-34.fc26.x86_64.rpm 139 kB/s | 19 kB 00:00 (9/15): spax-1.5.3-8.fc26.x86_64.rpm 879 kB/s | 211 kB 00:00 (10/15): patch-2.7.5-4.fc26.x86_64.rpm 131 kB/s | 122 kB 00:00 (11/15): mailx-12.5-23.fc26.x86_64.rpm 464 kB/s | 257 kB 00:00 (12/15): libesmtp-1.0.6-11.fc26.x86_64.rpm 433 kB/s | 64 kB 00:00 (13/15): liblockfile-1.09-5.fc26.x86_64.rpm 346 kB/s | 27 kB 00:00 (14/15): esmtp-1.2-9.fc26.x86_64.rpm 87 kB/s | 56 kB 00:00 (15/15): google-chrome-stable-62.0.3202.94-1.x86_64.rpm 7.2 MB/s | 47 MB 00:06 ---------------------------------------------------------------------------------------------------------------- Total 5.6 MB/s | 48 MB 00:08 warning: /var/cache/dnf/google-chrome-eb0d6f10ccbdafba/packages/google-chrome-stable-62.0.3202.94-1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 7fac5991: NOKEY Importing GPG key 0x7FAC5991: Userid : "Google, Inc. Linux Package Signing Key" Fingerprint: 4CCA 1EAF 950C EE4A B839 76DC A040 830F 7FAC 5991 From : https://dl-ssl.google.com/linux/linux_signing_key.pub Is this ok [y/N]: y Key imported successfully Importing GPG key 0xD38B4796: Userid : "Google Inc. (Linux Packages Signing Authority) " Fingerprint: EB4C 1BFD 4F04 2F6D DDCC EC91 7721 F63B D38B 4796 From : https://dl-ssl.google.com/linux/linux_signing_key.pub Is this ok [y/N]: y Key imported successfully Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : liblockfile-1.09-5.fc26.x86_64 1/15 Running scriptlet: liblockfile-1.09-5.fc26.x86_64 1/15 Installing : libesmtp-1.0.6-11.fc26.x86_64 2/15 Running scriptlet: libesmtp-1.0.6-11.fc26.x86_64 2/15 Installing : esmtp-1.2-9.fc26.x86_64 3/15 Running scriptlet: esmtp-1.2-9.fc26.x86_64 3/15 Installing : mailx-12.5-23.fc26.x86_64 4/15 Installing : spax-1.5.3-8.fc26.x86_64 5/15 Running scriptlet: spax-1.5.3-8.fc26.x86_64 5/15 Installing : redhat-lsb-submod-security-4.1-34.fc26.x86_64 6/15 Installing : patch-2.7.5-4.fc26.x86_64 7/15 Installing : ncurses-compat-libs-6.0-8.20170212.fc26.x86_64 8/15 Running scriptlet: ncurses-compat-libs-6.0-8.20170212.fc26.x86_64 8/15 Installing : m4-1.4.18-3.fc26.x86_64 9/15 Running scriptlet: m4-1.4.18-3.fc26.x86_64 9/15 Installing : ed-1.14.1-2.fc26.x86_64 10/15 Running scriptlet: ed-1.14.1-2.fc26.x86_64 10/15 Installing : at-3.1.20-3.fc26.x86_64 11/15 Running scriptlet: at-3.1.20-3.fc26.x86_64 11/15 Installing : util-linux-user-2.29.1-2.fc26.x86_64 12/15 Installing : redhat-lsb-core-4.1-34.fc26.x86_64 13/15 Installing : libXScrnSaver-1.2.2-11.fc26.x86_64 14/15 Running scriptlet: libXScrnSaver-1.2.2-11.fc26.x86_64 14/15 Running scriptlet: google-chrome-stable-62.0.3202.94-1.x86_64 15/15 Installing : google-chrome-stable-62.0.3202.94-1.x86_64 15/15 Running scriptlet: google-chrome-stable-62.0.3202.94-1.x86_64 15/15 Redirecting to /bin/systemctl start atd.service Verifying : google-chrome-stable-62.0.3202.94-1.x86_64 1/15 Verifying : libXScrnSaver-1.2.2-11.fc26.x86_64 2/15 Verifying : redhat-lsb-core-4.1-34.fc26.x86_64 3/15 Verifying : util-linux-user-2.29.1-2.fc26.x86_64 4/15 Verifying : at-3.1.20-3.fc26.x86_64 5/15 Verifying : ed-1.14.1-2.fc26.x86_64 6/15 Verifying : m4-1.4.18-3.fc26.x86_64 7/15 Verifying : ncurses-compat-libs-6.0-8.20170212.fc26.x86_64 8/15 Verifying : patch-2.7.5-4.fc26.x86_64 9/15 Verifying : redhat-lsb-submod-security-4.1-34.fc26.x86_64 10/15 Verifying : spax-1.5.3-8.fc26.x86_64 11/15 Verifying : mailx-12.5-23.fc26.x86_64 12/15 Verifying : esmtp-1.2-9.fc26.x86_64 13/15 Verifying : libesmtp-1.0.6-11.fc26.x86_64 14/15 Verifying : liblockfile-1.09-5.fc26.x86_64 15/15 Installed: google-chrome-stable.x86_64 62.0.3202.94-1 at.x86_64 3.1.20-3.fc26 ed.x86_64 1.14.1-2.fc26 esmtp.x86_64 1.2-9.fc26 libXScrnSaver.x86_64 1.2.2-11.fc26 libesmtp.x86_64 1.0.6-11.fc26 liblockfile.x86_64 1.09-5.fc26 m4.x86_64 1.4.18-3.fc26 mailx.x86_64 12.5-23.fc26 ncurses-compat-libs.x86_64 6.0-8.20170212.fc26 patch.x86_64 2.7.5-4.fc26 redhat-lsb-core.x86_64 4.1-34.fc26 redhat-lsb-submod-security.x86_64 4.1-34.fc26 spax.x86_64 1.5.3-8.fc26 util-linux-user.x86_64 2.29.1-2.fc26 Complete!
Google chrome has been successfully installed. you can launch google chrome.
Blog
Privacy Policy | Copyright2020 - All Rights Reserved. | Contact us | Report website issues in Github | Facebook page | Google+ page