How to Install and Run Chromium Browser in Linux on Pixel
In our earlier guide, we listed the steps to set up the Linux Terminal on your Pixel device [for the unaware, it runs via Android Virtualization Framework]. Now, in this guide, we will show you two different methods through which you can install and run the Chromium browser in Linux on your Pixel device. So without any further ado, let’s get started.
- How to Install and Run Chromium Browser in Linux on Pixel Using Flatpak and Flathub [RECOMMENDED] Using Wayland Terminal Using Flatpak and Flathub [LENGTHY] Install Flatpak, Flathub, and Chromium Together [LENGTHY]
- How to Enable Hardware Acceleration
How to Install and Run Chromium Browser in Linux on Pixel
Please go through all the listed methods and then try out the one that is in sync with your requirements.

Using Flatpak and Flathub [RECOMMENDED]
- First off, update your packet lists via the below command: sudo apt-get update
- Then update your packages using the following command: sudo apt upgrade
- Now install Flatpak using the below command: sudo apt install flatpak
- Then install the Flatpak repository, Flathub, via the command: sudo flatpak remote-add –if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
- You can now install the desired app via it using the syntax: sudo flatpak install flathub app-package-name
- Using the above syntax, the command for Chromium will be: sudo flatpak install flathub org.chromium.Chromium
- Likewise, to install Image Editor Gimp, use the below command: sudo flatpak install flathub org.gimp.GIMP
- To launch the installed app, click on the display icon at the top right.
- Then type in the below command: weston
- You’ll now see a display icon at the top left. Click on it to open the Wayland Terminal.
- Then use the below command syntax to launch the app: flatpak run app-package-name
- For example, in the case of Gimp, the command will be: flatpak run org.gimp.GIMP
- However, to launch Chromium, a few additional parameters are required, namely: flatpak run org.chromium.Chromium –no-sandbox –enable-features=UseOzonePlatform –ozone-platform=wayland
- Similarly, you may go through all the apps from the Flatpack repository , install, and run them via the given commands.
Using Wayland Terminal
- Open Terminal and tap on the display at the top right.
- Type the command below to open Wayland Terminal: weston
- Now type the following command to install Chromium: sudo apt install chromium
- Finally, launch Chromium using the below command: chromium –no-sandbox –enable-features=UseOzonePlatform –ozone-platform=wayland
Using Flatpak and Flathub [LENGTHY]
We will first install Flatpak, followed by its repository, Flathub. After that, you can then install Chromium from its repo, as shown below:
- Launch Terminal and paste the below command in it #!/bin/bash set -e echo “[1/4] Checking /etc/apt/sources.list…” if grep -q “deb.debian.org” /etc/apt/sources.list; then echo “Debian repo already present.” else echo “Adding Debian bookworm repos…” echo “deb http://deb.debian.org/debian bookworm main contrib non-free deb http://deb.debian.org/debian-security bookworm-security main contrib non-free deb http://deb.debian.org/debian bookworm-updates main contrib non-free” | sudo tee /etc/apt/sources.list fi echo “[2/4] Updating package lists…” if ! sudo apt update; then echo “⚠ apt update failed — repo might be blocked. Skipping Flatpak install.” exit 1 fi echo “[3/4] Installing Flatpak…” if sudo apt install -y flatpak ca-certificates; then echo “✅ Flatpak installed successfully.” else echo “❌ Flatpak installation failed.” exit 1 fi echo “[4/4] Adding Flathub user remote…” mkdir -p ~/.local/share/flatpak if flatpak –user remote-add –if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo; then echo “✅ Flathub added successfully.” else echo “⚠ Failed to add Flathub.” fi echo “🎉 Setup complete! You can now install apps with:” echo “flatpak –user install flathub
” - Now save this script as: nano /mnt/shared/flatpak-flathub-setup.sh
- Then make it executable via the below command: chmod +x /mnt/shared/flatpak-flathub-setup.sh
- Now, run this script via the following command: /mnt/shared/flatpak-flathub-setup.sh
- Now type in the desired app’s package name command to install it. For Chromium, it will be: flatpak install flathub org.chromium.Chromium
- To launch Chromium, launch Wayland Terminal and type in: flatpak run org.chromium.Chromium –no-sandbox –enable-features=UseOzonePlatform –ozone-platform=wayland
- Similarly, you may go through all the apps from the Flatpack repository , install, and launch the app of your choice.
Install Flatpak, Flathub, and Chromium Together [LENGTHY]
The script given below will install Flatpak, its repository FlatHub, and Chromium from the repository.
- Open the Linux Terminal and type in: nano /mnt/shared/setup.sh
- Then paste the below command in the terminal: #!/bin/bash set -e echo “[1/4] Checking /etc/apt/sources.list…” if grep -q “deb.debian.org” /etc/apt/sources.list; then echo “Debian repo already present.” else echo “Adding Debian bookworm repos…” echo “deb http://deb.debian.org/debian bookworm main contrib non-free deb http://deb.debian.org/debian-security bookworm-security main contrib non-free deb http://deb.debian.org/debian bookworm-updates main contrib non-free” | sudo tee /etc/apt/sources.list fi echo “[2/4] Updating package lists…” if ! sudo apt update; then echo “⚠ apt update failed — repo might be blocked. Skipping flatpak install.” INSTALL_FLATPAK=false else INSTALL_FLATPAK=true fi if [ “$INSTALL_FLATPAK” = true ]; then echo “[3/4] Attempting to install flatpak…” if sudo apt install -y flatpak; then echo “✅ Flatpak installed successfully.” exit 0 else echo “⚠ Flatpak install failed — will download Chromium instead.” fi fi echo “[4/4] Downloading portable Chromium ARM64…” cd /mnt/shared if [ ! -f ungoogled-chromium_118.0.5993.88-1.1_linux_aarch64.tar.xz ]; then wget https://github.com/ungoogled-software/ungoogled-chromium-binaries/releases/download/118.0.5993.88-1.1/ungoogled-chromium_118.0.5993.88-1.1_linux_aarch64.tar.xz fi tar -xf ungoogled-chromium_*_linux_aarch64.tar.xz cd ungoogled-chromium_118.0.5993.88-1.1_linux_aarch64 echo “✅ Launching Chromium…” ./chrome –no-sandbox –enable-features=UseOzonePlatform –ozone-platform=wayland
- Now save ( CTRL+O , Enter) and exit ( CTRL+X ).
- Then make it executable via the below command: chmod +x /mnt/shared/setup.sh
- Now run it using the below command: /mnt/shared/setup.sh
- Then open the Wayland Terminal via the command below: weston
- Finally, type in the below command to launch Chromium in Linux on your Pixel device. chromium –no-sandbox –enable-features=UseOzonePlatform –ozone-platform=wayland OR flatpak run org.chromium.Chromium –no-sandbox –enable-features=UseOzonePlatform –ozone-platform=wayland
- This will launch Chromium. You may now browse the desired site of your choice. Well, even YouTube works with decent audio quality.
How to Enable Hardware Acceleration
Create a file named virglrenderer inside sdcard/linux to enable Hardware Acceleration You may alos use the below command to get this job done. Once done, relaunch Terminal and you should get the “VirGL is enabled” prompt [see below image].
adb shell “mkdir /sdcard/linux”
adb shell “touch /sdcard/linux/virglrenderer”

- How to Access Files on Android via New Linux Terminal
- How to Enable and Run Linux Terminal on Pixel [No Root]
- Install Kali Linux Nethunter Kernel on Galaxy S20 FE
- How to Install Kali Linux NetHunter on any Android
(Cancel Reply)
Δ