路边灯草 2024-10-06 01:05 采纳率: 50%
浏览 38
已结题

请问Ubuntu要怎么安装chrome呀?

请问Ubuntu要怎么安装chrome呀?
这是根据网上的方法安装的deb包

sudo dpkg -i google-chrome-stable_current_amd64.deb

然后就爆出了一堆依赖问题。

img

然后也是根据网上教的:

sudo apt-get install -f

也是没有任何作用,再次运行dpkg后还是一样的问题。(包括再次运行apt install update 和 apt install upgrade)

root@ecs-17a6:/usr/local/javaprojects/google# sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  google-chrome-stable:amd64
0 upgraded, 0 newly installed, 1 to remove and 12 not upgraded.
1 not fully installed or removed.
After this operation, 365 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 196866 files and directories currently installed.)
Removing google-chrome-stable:amd64 (129.0.6668.89-1) ...   (根据我的理解这里应该是把chrome.deb给删了,也不知道为什么?)
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...

又试了网上的这个:sudo aptitude install google-chrome-stable:amd64
它给出的建议还是把这个给删了,没有一点用

     Remove the following packages:                              
1)     google-chrome-stable:amd64 [129.0.6668.89-1 (now, stable)]



Accept this solution? [Y/n/q/?] N

*** No more solutions available ***

最后又查到了这个东西:sudo gdebi google-chrome-stable_current_amd64.deb
还是缺依赖

Reading package lists... Done
Building dependency tree        
Reading state information... Done
Reading state information... Done
This package is uninstallable
Dependency is not satisfiable: libasound2 (>= 1.0.17)

下载依赖后还是没有用:

# sudo apt install libasound2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libasound2 is already the newest version (1.1.3-5ubuntu0.6).
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.

它下到哪了?

# sudo gdebi google-chrome-stable_current_amd64.deb 
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Reading state information... Done
This package is uninstallable
Dependency is not satisfiable: libasound2 (>= 1.0.17)

  • 写回答

32条回答 默认 最新

  • 专家-赤兔[在线] 全栈领域优质创作者 2024-10-06 01:05
    关注
    获得0.30元问题酬金

    以下回复引自免费微信小程序:皆我百晓生。 如问题解决,还请采纳。如仍有疑问,请回复留言或私信博主,以便获得更精准的帮助。

    在UBUNTU上安装CHROME浏览器的方法:

    1. 首先,确保已经下载了CHROME的源码(例如:HTTPS://SOURCEFORGE.NET/PROJECTS/CHROMIUM/FILES/CHROME/),并将其解压到一个可执行文件夹中。
    2. 在你的终端中输入以下命令来运行CHROME的安装过程:
      SUDO APT-GET INSTALL CHROMIUM-BROWSER
      
    3. 运行完成后,你可以使用CHROME浏览器浏览网页或应用。

    如果您遇到了一些问题,可以尝试重新编译或者更新您的系统以解决安装过程中出现的问题。

    评论

报告相同问题?

问题事件

  • 系统已结题 10月14日
  • 创建了问题 10月6日