LINUXでGoogle Chromeをインストールする方法を紹介します。
環境
OS:MIRACLE LINUX 9.2
設定方法
1.CLIでログインして以下のコマンドを実行し、新規でファイルを作成する。
vi /etc/yum.repos.d/google-chrome.repo2.作成したファイルに以下を書き込む。
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub3.以下のコマンドを実行し、パッケージ情報が取得できるかを確認する。
yum info google-chrome-stableメタデータの期限切れの最終確認: 3:29:33 前の 2024年07月24日 19時32分46秒 に実施 しました。
インストール済みパッケージ
名前 : google-chrome-stable
バージョン : 127.0.6533.72
リリース : 1
Arch : x86_64
サイズ : 336 M
ソース : google-chrome-stable-127.0.6533.72-1.src.rpm
リポジトリー : @System
repo から : google-chrome
概要 : Google Chrome
URL : https://chrome.google.com/
ライセンス : Multiple, see https://chrome.google.com/
説明 : The web browser from Google
:
: Google Chrome is a browser that combines a minimal design with
: sophisticated technology to make the web faster, safer, and
: easier.
4.以下のコマンドを実行し、インストールを行う。
yum install google-chrome-stable5.GUI環境であれば以下のようにアイコンが作成されるのでクリックで実行することができる。

おわり


コメント