- 更新系统
sudo apt update
- 安装依赖
sudo apt install curl software-properties-common apt-transport-https ca-certificates -y
- 导入 GPG key
curl -fSsL https://dl.google.com/linux/linux_signing_key.pub | gpg --dearmor | sudo tee /usr/share/keyrings/google-chrome.gpg > /dev/null
- 导入google chrome 源
echo deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main | sudo tee /etc/apt/sources.list.d/google-chrome.list
- 加载google chrome 的apt源,
sudo apt update
6.安装google浏览器
sudo apt install google-chrome-stable
问题:
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/InRelease Could not connect to dl.google.com:80 (114.250.65.33), connection timed out
解决办法:多尝试几次
参考