一,下載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