Reference URL: https://linuxize.com/post/how-to-install-google-chrome-web-browser-on-centos-8/ Reference DNF: https://www.rootusers.com/25-useful-dnf-command-examples-for-package-management-in-linux/ 1. Open your terminal and download the latest Chrome 64-bit .rpm package with wget : [root@localhost Downloads]# wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm 2. Once the download is complete, run the following command as root or user with sudo privileges to install Chrome Browser: [root@localhost Downloads]# dnf localinstall google-chrome-stable_current_x86_64.rpm 3. Done. 4. Sample session: [root@localhost Downloads]# wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm --2020-08-16 02:34:25-- https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm Resolving dl.google.com (dl.google.com)... 172.217.3.110, 2607:f8b0:4006:81a::200e Connecting to dl.google.com (dl.google.com)|172.217.3.110|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 69483744 (66M) [application/x-rpm] Saving to: ‘google-chrome-stable_current_x86_64.rpm’ google-chrome-stabl 100%[===================>] 66.26M 90.3MB/s in 0.7s 2020-08-16 02:34:26 (90.3 MB/s) - ‘google-chrome-stable_current_x86_64.rpm’ saved [69483744/69483744] [root@localhost Downloads]# sudo dnf localinstall google-chrome-stable_current_x86_64.rpm Last metadata expiration check: 0:16:53 ago on Sun 16 Aug 2020 02:17:48 AM EDT. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: google-chrome-stable x86_64 84.0.4147.125-1 @commandline 66 M Installing dependencies: libappindicator-gtk3 x86_64 12.10.0-19.el8 AppStream 43 k libdbusmenu x86_64 16.04.0-12.el8 AppStream 140 k libdbusmenu-gtk3 x86_64 16.04.0-12.el8 AppStream 41 k liberation-fonts noarch 1:2.00.3-7.el8 BaseOS 20 k liberation-serif-fonts noarch 1:2.00.3-7.el8 BaseOS 609 k libindicator-gtk3 x86_64 12.10.1-14.el8 AppStream 70 k mesa-vulkan-drivers x86_64 19.3.4-2.el8 AppStream 3.5 M vulkan-loader x86_64 1.2.135.0-1.el8 AppStream 115 k Transaction Summary ================================================================================ Install 9 Packages Total size: 71 M Total download size: 4.6 M Installed size: 240 M Is this ok [y/N]: y Downloading Packages: (1/8): libdbusmenu-gtk3-16.04.0-12.el8.x86_64.r 345 kB/s | 41 kB 00:00 (2/8): libappindicator-gtk3-12.10.0-19.el8.x86_ 293 kB/s | 43 kB 00:00 (3/8): libdbusmenu-16.04.0-12.el8.x86_64.rpm 806 kB/s | 140 kB 00:00 (4/8): libindicator-gtk3-12.10.1-14.el8.x86_64. 1.2 MB/s | 70 kB 00:00 (5/8): vulkan-loader-1.2.135.0-1.el8.x86_64.rpm 3.3 MB/s | 115 kB 00:00 (6/8): liberation-fonts-2.00.3-7.el8.noarch.rpm 54 kB/s | 20 kB 00:00 (7/8): mesa-vulkan-drivers-19.3.4-2.el8.x86_64. 7.0 MB/s | 3.5 MB 00:00 (8/8): liberation-serif-fonts-2.00.3-7.el8.noar 917 kB/s | 609 kB 00:00 -------------------------------------------------------------------------------- Total 3.5 MB/s | 4.6 MB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : libdbusmenu-16.04.0-12.el8.x86_64 1/9 Installing : libdbusmenu-gtk3-16.04.0-12.el8.x86_64 2/9 Installing : vulkan-loader-1.2.135.0-1.el8.x86_64 3/9 Installing : mesa-vulkan-drivers-19.3.4-2.el8.x86_64 4/9 Installing : liberation-serif-fonts-1:2.00.3-7.el8.noarch 5/9 Installing : liberation-fonts-1:2.00.3-7.el8.noarch 6/9 Installing : libindicator-gtk3-12.10.1-14.el8.x86_64 7/9 Installing : libappindicator-gtk3-12.10.0-19.el8.x86_64 8/9 Running scriptlet: google-chrome-stable-84.0.4147.125-1.x86_64 9/9 Installing : google-chrome-stable-84.0.4147.125-1.x86_64 9/9 Running scriptlet: google-chrome-stable-84.0.4147.125-1.x86_64 9/9 error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Resource temporarily unavailable) error: /tmp/google.sig.ZLNjLJ: key 1 import failed. error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Resource temporarily unavailable) error: /tmp/google.sig.ZLNjLJ: key 2 import failed. Redirecting to /bin/systemctl start atd.service Verifying : libappindicator-gtk3-12.10.0-19.el8.x86_64 1/9 Verifying : libdbusmenu-16.04.0-12.el8.x86_64 2/9 Verifying : libdbusmenu-gtk3-16.04.0-12.el8.x86_64 3/9 Verifying : libindicator-gtk3-12.10.1-14.el8.x86_64 4/9 Verifying : mesa-vulkan-drivers-19.3.4-2.el8.x86_64 5/9 Verifying : vulkan-loader-1.2.135.0-1.el8.x86_64 6/9 Verifying : liberation-fonts-1:2.00.3-7.el8.noarch 7/9 Verifying : liberation-serif-fonts-1:2.00.3-7.el8.noarch 8/9 Verifying : google-chrome-stable-84.0.4147.125-1.x86_64 9/9 Installed: google-chrome-stable-84.0.4147.125-1.x86_64 libappindicator-gtk3-12.10.0-19.el8.x86_64 libdbusmenu-16.04.0-12.el8.x86_64 libdbusmenu-gtk3-16.04.0-12.el8.x86_64 liberation-fonts-1:2.00.3-7.el8.noarch liberation-serif-fonts-1:2.00.3-7.el8.noarch libindicator-gtk3-12.10.1-14.el8.x86_64 mesa-vulkan-drivers-19.3.4-2.el8.x86_64 vulkan-loader-1.2.135.0-1.el8.x86_64 Complete! [root@localhost Downloads]# dnf update google-chrome google-chrome 43 kB/s | 3.6 kB 00:00 Dependencies resolved. Nothing to do. Complete! [root@localhost Downloads]#
Saturday, August 15, 2020
How to Install Google Chrome Web Browser on CentOS 8
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment