How to set up Flatpak in Chrome OS

Published by Jesse Afolabi on

flatpak flathub

The Linux environment within Chrome OS has become a blessing in disguise for enthusiasts and power users looking to migrate their workflow to Chrome OS. This has become possible without the hassle of having to install Crouton on the side like the job that you hate and can’t rid yourself of cause it makes you money.

We had previously covered our suggestion for the top alternative app stores for Chrome OS that will enable you to explore the desktop-grade apps that have become available to you via the Debian-powered Linux container. The recommendations we made in that article, however, are limited to the traditionally-packaged Debian Linux apps with no option for Flatpak. It’s for this reason that we’ve decided to create a tutorial on how to set up Flatpak.

What is Flatpak?

Flatpak is a superior package management system that is literally second to none as it’s distribution-agnostic with a set of robust functionalities to boot.

This is such that the package management system does not require apps to be recompiled for every single Linux distribution with a difference in its core base. It’s essentially a one-fits-all solution.

Moreover, It is also such that Flatpak enables apps to be bundled with the required dependencies needed for them to be run efficiently on all platform.

Furthermore, Flatpak offers a centralized repository called Flathub for all distributions including the Chrome operating system.

Additionally, Flatpak offers the advantage of forward-compatibility and quite frankly, backward compatibility as well. This is particularly advantageous for the Chrome operating system as you can be rest-assured that your applications will continue to function irrespective of the changes made to the Linux container (I would hope).

Lastly, Flatpak boasts consistency in performance across platforms which is necessary for troubleshooting.


  1. Installing Flatpaks will almost always require you to use the Linux terminal.
  2. There are only around a measly 350 apps available via Flathub

Installation Procedure

Running the following commands as root in your Linux terminal will enable you to install Flatpak itself and the necessary dependencies.

sudo apt install flatpak

Install the Gnome software center plugin. You can refer to this tutorial on how to install the software center. Chances are the plugin won’t work for you as it didn’t for me as well.

sudo apt install gnome-software-plugin-flatpak

The following command below will add the Flathub repository.

flatpak remote-add --if-not-exists flathub

Once you’re done adding the repo, restart your system and proceed to the terminal to install any app you might need using the commands below. It’s also important that you look up the app you intend on installing on Flathub to be sure of its availability in the repo.

flatpak install flathub [package name as seen on the app page on flathub]

To run the app, use the command below or search in the app launcher.

flatpak run [package name]

Have you had any luck setting Flatpak up? Let us know in the comments!

Categories: LinuxTools

Jesse Afolabi

I founded ItsChromeOS in 2018 to spread the word on the future of Chrome OS with a passionate team of enthusiasts. Care about Chrome OS Flex? We cover that too! ItsChromeOS isn't your average blogging space, it's a Chrome-first space for the everyone using Chrome OS. Support our vision here:


Eddie · May 23, 2019 at 4:10 am

Hey there!
Ive been trying to get the flatpak thing to work on my chromebook book. But i cant seem to get it working. I was having the same issue NSH was having and i still cant get it to work. Ive followed the exact steps as listed on top. Any idea what im doing wrong? Using a google pixel Slate.

    Jesse Afolabi · May 23, 2019 at 5:25 pm

    Hi Eddie! Have you tried power cycling your Pixel Slate and going through the process again?

      Eddie · May 23, 2019 at 7:53 pm

      No. I will try that next.
      Do you think it can be because im running the BETA version of Chrome os?

        Jesse Afolabi · May 23, 2019 at 8:20 pm

        i don’t suppose that’s the case, Eddie! Granted, the beta and dev channel do come with more bugs than usual and that may be the reason why you had run into issues with your installation. Typically, a quick restart will (temporarily) fix minor bugs. Let me know how it goes!

          Eddie · May 23, 2019 at 8:34 pm

          Hey there. So before i do the reset i want to show you how im typing it in the command line. Maybe im going something wrong. This is the error message ive been getting.

          Eddie · May 23, 2019 at 8:35 pm

          Bruuuhhhhh! i didnt put ‘Sudo’………..-_-
          it works….

          Jesse Afolabi · May 23, 2019 at 8:35 pm

          Happens to the best of us, fam! Good thing you figured it out! Enjoy!

          Eddie · May 23, 2019 at 8:35 pm

          Thanks playa!
          Literally the exact same situation….

          Jesse Afolabi · May 23, 2019 at 8:45 pm

          My pleasure, mate!

          Eddie · July 7, 2019 at 12:10 am

          Hello there! Hello there!

          Hope you’re doing awesome. I need a little help with AppImage files. Im trying to Run one on my Pixel Slate. But i have no idea how to do this. Can you help?
          Im running Chrome OS Beta 75
          and all ive done was move the downloaded AppImage file on to the Linux file section on the ‘files’ app.

          Jesse Afolabi · July 7, 2019 at 7:43 pm

          Hi, Eddie! I’ll be sure to create an article on the subject and subsequently update you with a link sometime soon. Hang in there!

          Eddie · July 7, 2019 at 8:33 pm

          Thank you!!!? Lol

Amyhopps10 · August 1, 2019 at 8:28 am

Error strating the virtual machine (linux beta on Cloudready)

    Jesse Afolabi · August 4, 2019 at 2:57 am

    Cloudready is an entirely different platform from the traditional Chrome OS experience. I didn’t account for it while writing this article. I’ll, however, look into it once I get the chance to…

Reomae · November 14, 2020 at 10:46 am

im trying to install flatpak in a chromebook ive just purchased but when installing the repository the terminal is coming up with a password requirement i do not know what the password is its not my chromebook password anyone any ideas what the password would be? theres no mention of a password requirement in the instructions above

Jesse Afolabi · March 16, 2020 at 5:20 pm

Hi Peter! Can you tell me how you’ve gone about the process so we can better diagnose the problem you encountered? In order to install an application from the Flathub repository, you must specify the package name … can you verify that you’ve done this?

Jesse Afolabi · March 16, 2020 at 5:28 pm

You can find the specific command to execute in your Linux terminal on the specific package page. For example, “flatpak install flathub com.spotify.Client” from: will install the spotify client onto your Chromebook while “flatpak run com.spotify.Client” will run the application after which you can pin it to your shelf for easier and quicker access. You will need to invoke “sudo” as necessary. That is, “sudo flatpak install flathub com.spotify.Client” and “sudo flatpak run com.spotify.Client” respectively. Take caution when invoking sudo cause it gives you root privileges. Once you’re done installing, you can exit root shell with “CTRL + D” … I hope this clears things up for you.

Peter Loban · March 19, 2020 at 5:07 pm

So thanks for helping!! I did steps 1 and 2 and they work but when I go on step 3 I do that command and it says “Name not specified.” then I downloaded the link and redo step 3 and says the same. Doing the command to get the Flathub repository doesn’t work. Any Help?

Jesse Afolabi · March 21, 2020 at 5:30 pm

Could you possibly share a screenshot of your terminal?

Jesse Afolabi · March 21, 2020 at 5:34 pm

So I can try to recreate the issue you’re experiencing. I don’t suppose Flathub will list a package with non-working repo … I’ll be sure to try it out on my PB once I’m back home

Peter Loban · April 12, 2020 at 11:08 am

ahh thanks for helping I didn’t do the full command, my bad but its all good now

Leave a Reply

Your email address will not be published.

BrandsView All
Show More Brands
ManufacturersView All
Show More Brands