Linux | Ubuntu 20.04 | 通过命令行安装Google Chrome浏览器

如是我闻: 还是习惯用Chrome 在 Linux 上通过命令行安装 Google Chrome 浏览器通常涉及以下步骤。以下步骤以基于 Debian 的系统(如 Ubuntu&#xff

如是我闻: 还是习惯用Chrome

在 Linux 上通过命令行安装 Google Chrome 浏览器通常涉及以下步骤。以下步骤以基于 Debian 的系统(如 Ubuntu)为例:

  1. 下载 Google Chrome 的最新版本:
    首先,下载 Google Chrome 的 Debian 安装包。你可以使用 wget 命令从 Google Chrome 的官方网站下载。以下命令将下载 64 位版本的 Google Chrome:

    wget https://dl.google/linux/direct/google-chrome-stable_current_amd64.deb
    
  2. 安装 Google Chrome:
    下载 .deb 包后,使用 dpkg 命令来安装它。你可能需要管理员权限(使用 sudo)来安装软件包:

    sudo dpkg -i google-chrome-stable_current_amd64.deb
    

    如果在安装过程中出现依赖问题,可以使用以下 apt-get 命令来解决缺失的依赖:

    sudo apt-get install -f
    

    这个命令会自动安装任何缺失的依赖包,以确保 Google Chrome 正确安装。

  3. 启动 Google Chrome:
    安装完成后,通过在终端输入 google-chrome 或在你的桌面环境的应用菜单中找到 Google Chrome 来启动它:

    google-chrome
    

    或者,如果你想在后台运行并忽略所有输出:

    google-chrome &
    

非常的OK

以上

发布者:admin,转转请注明出处:http://www.yc00.com/web/1737986669a4006788.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信