Home Linux Setup Guide Powerwash and Recovery All Guides

The Linux Gamers on Chromebook Co. Presents

How to Set Up the Linux VM on Your Chromebook:


Description:

This is how to set up the Linux VM on your Chromebook. In this guide you will install and app store for Linux called Flatpak. Please note that there is no direct user interface for the Linux VM, you only get the command line. Soon, a guide for installing a UI for the Linux VM will be made.


Determine if Your Chromebook has Linux Support:

You need to press Ctrl+Search❪key with magnifying glass❫+Esc and find what the app says your CPU is.

cpu info pic

The text circled in blue is where you find this information. The brand is underlined in red. Look at the table below to find out how likely your Chromebook is supported.

CPU Brand: CPU Type: Linux Support:
Intel x86_64 Most Chromebooks
AMD x86_64 Most Chromebooks
Qualcomm ARM No Support
MediaTek ARM No Support

Note: If your CPU qualifies as not supported, STOP NOW. Your Chromebook doesn't support Linux, this guide CANNOT BE COMPLETED. If any other guide states that it requires Linux to be set up, it CANNOT BE COMPLETED either.


Part 1: Setup Linux Terminal

Step 1: Open the launcher with the search key, then find and open an app called, "terminal".

terminal app location pic

Step 2: Click on the circled button, it should say, "Set up". If the button says, "Manage" skip to step 4.

termianl app pic

Step 3: Click on, "Set up" and during the setup give it a little more than half-way on the slider for storage capacity. You can resize the storage later in the linux terminal settings.

Note: Make sure that you have at least 10GB of storage for the Linux VM. If you don't have the ability set it higher than 10, you need to delete unneccessary apps, photos, and/or videos from your device to free up space.

setup button pic

Step 4: Once it finishes, open the command line by clicking on, "Penguin" in the terminal app.

command line location pic

Step 5: Type in, "sudo apt-get dist-upgrade -y" and press enter.

Tip: To paste commands in to the command line, just right-click.


Part 2: Installing the Flathub Appstore

Step 1: Open the terminal and type in, "sudo apt-get upgrade -y" and press enter.

Step 2: Type in, "sudo apt install flatpak -y" and press enter.

Step 3: To make sure you have the Flathub repository, type in, "flatpak --user remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo"

Note: It is normal for this command to return no results, it changes a setting and checks if you have the right files, if you don’t have the right files it will download and install the correct ones.

Info source: flathub.com


Part 3: Installing the Main Linux Web Browser:

To be able to install and run some apps, Linux needs a web browser. Firefox is the best web browser for Linux, but after you install Firefox you can install other web browsers like Chrome or Edge if you perfer.

Step 1: Open the terminal, and type in, "sudo apt-get upgrade -y" and press enter.

Step 2: Type in, "flatpak install flathub org.mozilla.firefox -y" and press enter.

Step 3: Once it finishes, open the launcher and look for an app called, "Firefox" under, "Linux Apps", the click on it.

Step 4: Right-click on the icon for Firefox and select, "Pin", you will need Firefox frequentally if you plan on installing a lot of Linux apps.

Step 5: Open Firefox, then open a new tab. Click on the cog-shaped settings icon. Then click on, "Manage more settings".

settings icon pic

Step 6: Type, "file" into the searchbar. Then enable, "Always ask you where to save files".

enable setting pic

Now you should be ready to go, if you want review the secuity settings for Firefox. Also make sure to make it the default browser ❪this is just for the Linux VM, it doesn't affect the Chrome browser that came with your Chromebook❫.



Top of Page