Install Chrome in yum under CentOS

Source: Internet
Author: User
Install Chrome in CentOS6.x. First, create a google-chrome.repo file in the/etc/yum. repos. d Directory, which writes the following content: [plain] viewplaincopy [google-chrome]

Install Chrome in CentOS 6.x. First, create the google-chrome.repo file in the/etc/yum. repos. d Directory, which writes the following content:

[Plain]View plaincopy
  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

After configuring the Google Chrome browser Yum Repository, run the following command to install the Google Chrome browser:

# Install Google Chrome Stable version

[Plain]View plaincopy
  1. Yum install google-chrome-stable
# Install Google Chrome Beta version [Plain]View plaincopy
  1. Yum install google-chrome-beta
# Install the unstable Google Chrome version
[Plain]View plaincopy
  1. Yum install google-chrome-unstable

So far, Google Chrome has been installed. Due to the special nature of Google in China, sometimes it prompts that the host cannot be connected or the request times out. To solve this problem, you can only modify the/etc/hosts file and direct dl.google.com to another available server. You can download the file at http://code.google.com/p/smarthosts/and upload it to the /etc/hosts file.

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.