How To Install chromium on CentOS 8
Introduction
In this tutorial we learn how to install chromium
on CentOS 8.
What is chromium
Chromium is an open-source web browser, powered by WebKit (Blink).
We can use yum
or dnf
to install chromium
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install chromium.
Install chromium on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install chromium
using dnf
by running the following command:
sudo dnf -y install chromium
Install chromium on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install chromium
using yum
by running the following command:
sudo yum -y install chromium
How To Uninstall chromium on CentOS 8
To uninstall only the chromium
package we can use the following command:
sudo dnf remove chromium
chromium Package Contents on CentOS 8
/etc/chromium
/etc/chromium/master_preferences
/etc/chromium/native-messaging-hosts
/etc/chromium/policies
/etc/chromium/policies/managed
/etc/chromium/policies/recommended
/usr/bin/chromium-browser
/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/48ca258a1dbd28b42f45aec66c8aba9f1499ca
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/125aa76281d40105ed3a3f339c7caf9dbcd199
/usr/lib/.build-id/2a/9ef14147b9d38c7f852a6c70abc21ecf593643
/usr/lib/.build-id/65
/usr/lib/.build-id/65/aba0e147224cbbd3814f9820d86c2cef2f3021
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/d2d4ddfcee4a5f5b98431e8a1ca3b644042771
/usr/lib/.build-id/92
/usr/lib/.build-id/92/389e693656ec7af6df3ef8cdc4550e02f1a367
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/18d529189650ee5662140a2f6ff5971abaf73f
/usr/lib64/chromium-browser
/usr/lib64/chromium-browser/MEIPreload
/usr/lib64/chromium-browser/MEIPreload/manifest.json
/usr/lib64/chromium-browser/MEIPreload/preloaded_data.pb
/usr/lib64/chromium-browser/PepperFlash
/usr/lib64/chromium-browser/chrome-sandbox
/usr/lib64/chromium-browser/chrome_100_percent.pak
/usr/lib64/chromium-browser/chrome_200_percent.pak
/usr/lib64/chromium-browser/chromium-browser
/usr/lib64/chromium-browser/chromium-browser.sh
/usr/lib64/chromium-browser/icudtl.dat
/usr/lib64/chromium-browser/libEGL.so
/usr/lib64/chromium-browser/libEGL.so.TOC
/usr/lib64/chromium-browser/libGLESv2.so
/usr/lib64/chromium-browser/libGLESv2.so.TOC
/usr/lib64/chromium-browser/resources.pak
/usr/lib64/chromium-browser/snapshot_blob.bin
/usr/lib64/chromium-browser/swiftshader
/usr/lib64/chromium-browser/swiftshader/libEGL.so
/usr/lib64/chromium-browser/swiftshader/libEGL.so.TOC
/usr/lib64/chromium-browser/swiftshader/libGLESv2.so
/usr/lib64/chromium-browser/swiftshader/libGLESv2.so.TOC
/usr/lib64/chromium-browser/v8_context_snapshot.bin
/usr/lib64/chromium-browser/xdg-mime
/usr/lib64/chromium-browser/xdg-settings
/usr/share/applications/chromium-browser.desktop
/usr/share/doc/chromium
/usr/share/doc/chromium/AUTHORS
/usr/share/doc/chromium/chrome.json
/usr/share/doc/chromium/chrome_policy_list.html
/usr/share/gnome-control-center/default-apps/chromium-browser.xml
/usr/share/icons/hicolor/128x128/apps/chromium-browser.png
/usr/share/icons/hicolor/24x24/apps/chromium-browser.png
/usr/share/icons/hicolor/256x256/apps/chromium-browser.png
/usr/share/icons/hicolor/48x48/apps/chromium-browser.png
/usr/share/icons/hicolor/64x64/apps/chromium-browser.png
/usr/share/licenses/chromium
/usr/share/licenses/chromium/LICENSE
/usr/share/man/man1/chromium-browser.1.gz
/usr/share/metainfo/chromium-browser.appdata.xml
References
Summary
In this tutorial we learn how to install chromium
on CentOS 8 using yum and dnf.