Flatpak is a popular package management system for Linux that allows you to easily install and run applications in a sandboxed environment. This means that Flatpak apps are isolated from the rest of your system, making them more secure and easier to manage. In this article, we will show you how to install Flatpak apps on Ubuntu 24.04 LTS.
- Install Flatpak
First, you will need to install the Flatpak package on your Ubuntu system. Open a terminal and run the following command:
sudo apt install flatpak
- Add the Flathub repository
Flathub is the official repository for Flatpak apps. To add it to your system, run the following command:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- Install a Flatpak app
Now that you have Flatpak installed and the Flathub repository added, you can install Flatpak apps. To install an app, first search for it using the following command:
flatpak search <app-name>
Once you find the app you want to install, run the following command:
flatpak install flathub <app-name>
For example, to install the popular video player VLC, you would run:
flatpak install flathub org.videolan.VLC
- Run a Flatpak app
After the app is installed, you can run it by searching for it in your application menu or by running the following command in the terminal:
flatpak run <app-id>
For example, to run the VLC app, you would run:
flatpak run org.videolan.VLC
That’s it! You have successfully installed and run a Flatpak app on Ubuntu 24.04 LTS. Flatpak makes it easy to install and manage applications on Linux, and with the Flathub repository, you have access to a wide range of popular apps. Give it a try and see how Flatpak can improve your Linux experience.