• 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
    
  • 相关阅读:
    查看进程,按内存从大到小 ,查看进程,按CPU利用率从大到小排序
    haproxy 安装 各个参数的测试
    ps -C nginx --no-header |wc -l
    lsof -ntP -i:端口取出 动行程序的PID 然后xargs kill -9 这个进程
    linux 普通用户切换成root免密码
    inter x86 emulator accelerator(HAXM installer) not compatible with windows
    react-native 相关问题
    SQLCE数据工具(Flyhoward Ltd SDF Viewer)
    Android APK反编译就这么简单 详解(附图)
    react.js 教程之 Installation 安装
  • 原文地址:https://www.cnblogs.com/mysic/p/7662266.html
Copyright © 2020-2023  润新知