How to install Google Chrome Desktop shortcuts under CentOS Redhat Linux

Source: Internet
Author: User

1. I have installed Google browser before the computer, with a convenient yum command to uninstall the tune, the command is:

Yum Remove google-chrome-stable.x86_64

2. Now the domestic Google is basically the wall, has not been downloaded, and the CentOS browser has Firefox, default does not support Google-chrome, can only modify the Yum source for installation

Create a new text file in the/etc/yum.repos.d/directory, name google-chrome.repo, text file content as follows

    1. [Google-chrome]
    2. Name=google-chrome
    3. baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
    4. Enabled=1
    5. Gpgcheck=1
    6. Gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

Such as:

3. Install, switch to the root user, because the country can not access the Google Network, can not be key verification, plus--nogpgcheck not verify the way to install, less impact

Execute command

Yum Install google-chrome-stable--nogpgcheck

4. Installation Success Information

5. For security reasons, Chrome cannot run as Root at this time, to make the root identity run, modify the configuration file

Vim/usr/bin/google-chrome

Add--no-sandbox--user-data-dir on the last line of the file

Such as:

6. Add Desktop shortcuts

Create a file named Chrome.desktop in/root/Desktop/directory

Add the following text

#!/usr/bin/env Xdg-open
[Desktop Entry]
Binarypattern=chrome;
Mimetype=
Name=chrome
Exec=/usr/bin/google-chrome
Icon=/opt/google/chrome/product_logo_32.png
Type=application
Terminal=0

Then click on the file on the desktop and it will be a Google shortcut

Google Browser is now ready to use the

How do I install Google Chrome settings on a Google browser desktop shortcut under CentOS Redhat Linux

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.