Install Google chrome in centos7/Ubuntu 18.04
Make sure you are logged in as a user with sudo privileges.
Open the Terminal and type followwing command to download 64 bit version of google chrome.
Once the file is downloaded, install Google Chrome on your CentOS 7 system
yum localinstall google-chrome-stable_current_x86_64.rpm
The command above will prompt you to enter your user password and then it will install Chrome and all other required packages.
If any dependencies, sample output like below.
=============================================================================================================================================================================================== Package Arch Version Repository Size
Installing: google-chrome-stable x86_64 76.0.3809.132-1 /google-chrome-stable_current_x86_64 201 M Installing for dependencies: libXScrnSaver x86_64 1.2.2-6.1.el7 base 24 k libappindicator-gtk3 x86_64 12.10.0-13.el7 base 37 k libdbusmenu x86_64 16.04.0-4.el7 base 132 k libdbusmenu-gtk3 x86_64 16.04.0-4.el7 base 34 k liberation-fonts noarch 1:1.07.2-16.el7 base 13 k liberation-narrow-fonts noarch 1:1.07.2-16.el7 base 202 k libindicator-gtk3 x86_64 12.10.1-6.el7 base 63 k patch x86_64 2.7.1-10.el7_5 base 110 k redhat-lsb-core x86_64 4.1-27.el7.centos.1 base 38 k redhat-lsb-submod-security x86_64 4.1-27.el7.centos.1 base 15 k spax x86_64 1.5.2-13.el7 base 260 k ssmtp x86_64 2.64-14.el7 epel 50 k
Install 1 Package (+12 Dependent packages)
Total size: 201 M Total download size: 977 k
Once it is installed you can start it either from the command line by typing google-chrome & or just click google chrome icon as follows
(Applications- Internet - Google chrome).
Update google chrome
During the installation process, the official Google repository will be added to your system.you can verify by below command
This ensures that your Google Chrome installation will be updated automatically when a new version is released through your desktop standard Software Update tool.otherwise you can update it manually like below.
yum update google-chrome-stable
Google Chrome is not an open source and if you try to install Google Chrome from Ubuntu Software Center, you won’t find it there. It will probably suggest installing Chromium (the open source project Chrome is derived from). Chromium is similar to Chrome but it’s still not the real Google Chrome.
we can install google chrome in two ways.
one is from graphical and secondone is from terminal.
On the Chrome download page you’ll be asked to “accept” the Google Chrome Terms of Service.
When you click the “download” button above the following box will appear. Select the “save file” option, followed by “OK”.
The installer package is downloaded to your Downloads folder by default (unless you choose a different location).
When the Chrome installer download is complete you can open your file manager to find it. To begin installation just click twice on the installer package icon.
Then Software app will open. Click on install button
Enter the password if it is prompted
Open your terminal either by using the Ctrl+Alt+t keyboard shortcut or by clicking on the terminal icon.
Download the latest Google Chrome .deb package.
Install now.Make sure your loggedin user is having sudo privileges.
sudo dpkg -i google-chrome-stable_current_amd64.deb
you will be asked to enteruser password.
Once it is installed yoou can access it through terminal by typing google-chrome or by clicking google chrome in Activities tab.
In fedora you can install with below command
dnf install google-chrome-stable_current_*.rpm
update like below
dnf update google-chrome-stable