在CentOS 8| RHEL 8上安装Google Chrome
时间:2020-02-23 14:30:41 来源:igfitidea点击:
本指南将引导我们完成在RHEL 8/CentOS 8上安装Google Chrome的过程。Google Chrome是Google开发的跨平台网络浏览器,可在Linux,Windows,macOS,iOS和Android上运行。红帽/CentOS存储库中不提供Google Chrome浏览器,应从Google Chrome浏览器的官方下载页面下载并手动安装。我们将下载Google Chrome浏览器的RPM版本,并使用dnf或者yum软件包管理器进行安装
安装wget
。我们需要在CentOS/RHEL系统上安装wget才能进行下载。
sudo dnf -y install wget
在CentOS 8上安装Google Chrome。 RHEL 8
现在,使用wget命令下载最新版本的Google Chrome。
wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
导航到包含已下载软件包的目录,然后执行:
$sudo dnf localinstall google-chrome-stable_current_x86_64.rpm ................................ Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: google-chrome-stable x86_64 74.0.3729.131-1 @commandline 56 M Installing dependencies: libdbusmenu-gtk3 x86_64 16.04.0-12.el8 rhel-8-for-x86_64-appstream-rpms 41 k libXScrnSaver x86_64 1.2.3-1.el8 rhel-8-for-x86_64-appstream-rpms 31 k redhat-lsb-core x86_64 4.1-47.el8 rhel-8-for-x86_64-appstream-rpms 45 k libdbusmenu x86_64 16.04.0-12.el8 rhel-8-for-x86_64-appstream-rpms 140 k libindicator-gtk3 x86_64 12.10.1-14.el8 rhel-8-for-x86_64-appstream-rpms 70 k libappindicator-gtk3 x86_64 12.10.0-19.el8 rhel-8-for-x86_64-appstream-rpms 43 k redhat-lsb-submod-security x86_64 4.1-47.el8 rhel-8-for-x86_64-appstream-rpms 22 k ncurses-compat-libs x86_64 6.1-7.20160224.el8 rhel-8-for-x86_64-baseos-rpms 331 k postfix x86_64 2:3.3.1-8.el8 rhel-8-for-x86_64-baseos-rpms 1.5 M spax x86_64 1.5.3-13.el8 rhel-8-for-x86_64-baseos-rpms 217 k mailx x86_64 12.5-29.el8 rhel-8-for-x86_64-baseos-rpms 257 k liberation-serif-fonts noarch 1:2.00.3-4.el8 rhel-8-for-x86_64-baseos-rpms 607 k liberation-fonts noarch 1:2.00.3-4.el8 rhel-8-for-x86_64-baseos-rpms 19 k Transaction Summary ================================================================================ Install 14 Packages Total size: 59 M Total download size: 3.2 M Installed size: 205 M Is this ok [y/N]: y
按y接受RHEL/CentOS 8上的Google Chrome安装。
在CentOS 8上启动Google Chrome浏览器| RHEL 8
使用Gnome活动菜单搜索Google Chrome浏览器并启动它。
或者,从终端启动它。
$google-chrome