LoginSignup
1
0

More than 3 years have passed since last update.

CentOS7にGoogle Chromeをインストール

Last updated at Posted at 2019-02-05

はじめに

Linux丸腰初心者の備忘録です。

環境

ホスト

OS:CentOS7 GNOME

クライアント

OS:high Sierra

手順

基本的には[1]CentOS7にGoogle Chromeを簡単にインストールする方法に準じます。

su
$ su

ここで警告が出るが、無視。

vi
$ vi /etc/yum.repos.d/google-chrome.repo

viコマンドでvimのノーマルモードになるので、iを押して編集モードに切り替え、以下をコピペ。
ctrl+shift+C,V

write
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

Escを押して:wqと入力
:wqは変更を保存して終了という意味。

install
$ yum install -y google-chrome-stable

最初にsuとしているのでsudo yum...とする必要はなし。

終わりに

筆者はこのあとrebootで失敗、再起動不能になりUbuntu 18.04に乗り換えます。リンク切れとか、結構きつい。

参考文献

CentOS7にGoogle Chromeを簡単にインストールする方法
viコマンド(vimコマンド)リファレンス

1
0
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
0