Ubuntu安装Google Chrome

360 阅读1分钟
  1. 下载谷歌浏览器 使用Ctrl+Alt+T键盘快捷键或单击终端图标来打开终端

使用wget下载最新的Google Chrome .deb软件包 wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

  1. 安装Google Chrome 在Ubuntu上安装软件包需要管理权限。以具有sudo特权的用户身份运行以下命令,以.deb在系统上安装Chrome 软件包 sudo apt install ./google-chrome-stable_current_amd64.deb 出现提示时,输入您的用户密码,安装将开始。

  2. 启动谷歌浏览器 在活动搜索栏中,键入 Google Chrome,然后单击图标以启动该应用程序: 也可以通过输入命令行从命令行启动Chrome google-chrome

  3. 更新谷歌浏览器 在安装过程中,正式的Google存储库将添加到您的系统中。您可以使用以下cat命令来验证文件内容:

cat /etc/apt/sources.list.d/google-chrome.list 输出将如下所示:

### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main