欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Ubuntu下安装Chrome浏览器

程序员文章站 2022-06-16 16:53:54
...

 

sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub  | sudo apt-key add -
sudo apt-get update
sudo apt-get install google-chrome-stable
/usr/bin/google-chrome-stable

在sudo apt update的时候,出现如下问题,
N: Skipping acquire of configured file ‘main/binary-i386/Packages’ as repository ‘http://packages.ros.org/ros2/ubuntu bionic InRelease’ doesn’t support architecture ‘i386’
 

sudo gedit /etc/apt/sources.list.d/google-chrome.list

然后修改文件:

deb http://packages.ros.org/ros2/ubuntu bionic main
  • 修改为
deb [arch=amd64] http://packages.ros.org/ros2/ubuntu bionic main
相关标签: Linux