LoginSignup
1
1

More than 3 years have passed since last update.

ChromeをAWS Workspace Linux(Amazon Linux2)にインストールするスクリプト

Posted at

ChromeをAWS Workspace Linux(Amazon Linux2)にインストールするスクリプトです。Amazon Linux2以外でも、yum系が使えるOSなら動くと思います。たぶん。

以下の内容をファイル名setup-chrome.shで保存して、$ sh setup-chrome.shで実行。

################################################
# Install Google Chrome via repo
################################################

# repo
cat << EOF | sudo tee /etc/yum.repos.d/google.chrome.repo
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl.google.com/linux/linux_signing_key.pub
EOF

# install
sudo yum update
sudo yum install google-chrome-stable -y
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1