How to set up Flatpak in Chrome OS
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
Lastly, Flatpak boasts consistency in performance across platforms which is necessary for troubleshooting.
Flatpakswill almost always require you to use the Linux terminal.
- There are only around a measly 350 apps available via Flathub
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
sudo apt install gnome-software-plugin-flatpak
The following command below will add the Flathub repository.
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
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!