linux(ubuntu 21.10):安装chrome

一,下载chrome

liuhongdi@lhdpc:~$ cd /usr/local/source/
liuhongdi@lhdpc:/usr/local/source$ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

说明:刘宏缔的架构森林是一个专注架构的博客,地址:https://www.cnblogs.com/architectforest

         对应的源码可以访问这里获取: https://github.com/liuhongdi/
         或: https://gitee.com/liuhongdi

说明:作者:刘宏缔 邮箱: 371125307@qq.com

二,安装chrome:

liuhongdi@lhdpc:/usr/local/source$ sudo -i
[sudo] liuhongdi 的密码: 
root@lhdpc:~# cd /usr/local/source/
root@lhdpc:/usr/local/source# dpkg -i google-chrome-stable_current_amd64.deb

三,测试效果:

 点击确定

四,补充在红帽系os上安装chrome

1,下载

[root@localhost source]# wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

2,安装依赖:

[root@localhost source]# yum install liberation-fonts
[root@localhost source]# yum install libappindicator
[root@localhost source]# yum install libappindicator-gtk3

3,安装rpm包:

[root@localhost source]# rpm -ivh google-chrome-stable_current_x86_64.rpm 

Verifying...                          ################################# [100%]

准备中...                          ################################# [100%]

        软件包 google-chrome-stable-81.0.4044.129-1.x86_64 已经安装

五,查看chrome的版本

六,查看linux的版本:

root@lhdpc:/usr/local/source# cat /etc/os-release 
PRETTY_NAME="Ubuntu 21.10"
NAME="Ubuntu"
VERSION_ID="21.10"
VERSION="21.10 (Impish Indri)"
VERSION_CODENAME=impish
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=impish
原文地址:https://www.cnblogs.com/architectforest/p/15717395.html