zoukankan      html  css  js  c++  java
  • centos7 install google-chrome

    important: Google Chrome support for all 32-bit Linux distributions is deprecated from March, 2016.

    By using Google’s official repository you will keep your Chrome browser up-to-date.

    # yum update google-chrome-stable
    

    However, same instructions should also work on RHEL 7.x/6.x, CentOS 7.x/6.x and Fedora 26-20 versions as well.

    Step 1: Enable Google YUM repository

    Create a file called /etc/yum.repos.d/google-chrome.repo and add the following lines of code to 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

    Step 2: Installing Chrome Web Browser

    First, check whether the latest version available from the Google’s own repository using following yum command.

    # yum info google-chrome-stable
    
    Sample Output
    Check Google Chrome Package Info
    Loading mirror speeds from cached hostfile
    * base: centos.myfahim.com
    * epel: ir.mirror.rasanegar.com
    * extras: centos.myfahim.com
    * remi-safe: ftp.arnes.si
    * rpmforge: mirrors.neusoft.edu.cn
    * updates: centos.myfahim.com
    adobe-linux-x86_64                                                                                                                                                      3/3
    google-chrome                                                                                                                                                           3/3
    Available Packages
    Name        : google-chrome-stable
    Arch        : x86_64
    Version     : 60.0.3112.90
    Release     : 1
    Size        : 54 M
    Repo        : google-chrome
    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.
    

    Do you see the highlighted output in the above, that clearly telling that the latest version of chrome is available from repository. So, let’s install it using yum command as shown below, which will automatically install all needed dependencies.

    # yum install google-chrome-stable
    
    Sample Output
    Install Google Chrome in Linux
    Loaded plugins: fastestmirror, langpacks, product-id, search-disabled-repos, subscription-manager, versionlock
    Loading mirror speeds from cached hostfile
    * base: mirror.fibergrid.in
    * epel: ftp.riken.jp
    * extras: mirrors.viethosting.vn
    * remi-safe: ftp.arnes.si
    * rpmforge: mirror.team-cymru.org
    * updates: mirror.fibergrid.in
    Resolving Dependencies
    --> Running transaction check
    ---> Package google-chrome-stable.x86_64 0:60.0.3112.90 will be installed
    --> Finished Dependency Resolution
    Dependencies Resolved
    ======================================================================================================================================================================
    Package                    Arch                     Version                 Repository                     Size
    ======================================================================================================================================================================
    Installing:
    google-chrome-stable      x86_64                  60.0.3112.90          google-chrome                    54 M
    Transaction Summary
    ======================================================================================================================================================================
    Install  1 Package
    Total download size: 54 M
    Installed size: 205 M
    Is this ok [y/d/N]: y
    
  • 相关阅读:
    《剩女郎》的艺术魅力
    话剧《剩女郎》
    实验四
    手机app
    APP
    卡尔曼滤波 —— MATLAB实现
    卡尔曼滤波
    卡尔曼滤波
    2017 年全国大学生电子设计竞赛试题——四旋翼自主飞行器探测跟踪系统(C 题)【本科组】2
    2017 年全国大学生电子设计竞赛试题——四旋翼自主飞行器探测跟踪系统(C 题)【本科组】2
  • 原文地址:https://www.cnblogs.com/mysic/p/7662266.html
Copyright © 2011-2022 走看看