download the key and then use
apt
to install it.
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
-q = --quiet wget关闭输出
add it to the repository.
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo apt-get update
sudo apt-get install google-chrome-stable
OK,Chrome installed!
OK,Chrome installed!
没有评论:
发表评论