In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the Linux system how to install Flatpak, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
About Flatpak: Flatpak is a package management utility that allows you to distribute, install, and manage software without worrying about dependencies, runtime, or Linux distribution. Because you can install software without any problems, regardless of the Linux distribution (whether it's a Debian-based or Arch-based distribution), Flatpak is called a general-purpose package.
Detailed steps for installing Flatpak on Linux systems: below I will discuss three ways to download and install Flatpak applications from the Flathub store.
Install Flatpak applications using GNOME Software Center
Install the Flatpak application using the .flatpakref file
Install the Flatpak application using the command line
Therefore, you can use one of these three methods according to your situation. Here, I would also like to mention that I am using Ubuntu 20.04 Linux to display the installation of Flatpak applications.
How do I install Flatpak applications using the graphical GNOME Software Center?
1. Install the Flatpak plug-in
The graphical approach is the easiest way to install Flaptak applications for all who are worried about terminals. To use the default Software Center, you first need to enable Flatpak support.
Therefore, if you are using a GNOME desktop environment, install the Flatpak plug-in by running the following command:
Linuxmi@linuxmi:~/www.linuxmi.com$ sudo apt install gnome-software-plugin-flatpak
For KDE desktops, run the command:
Linuxmi@linuxmi:~/www.linuxmi.com$ sudo apt install plasma-discover-backend-flatpak
2. Search for applications with Flathub source tags
Now, just search for the application in the default Software Center, and you'll notice a tag with the source code pointing to the Flathub library.
How do I install Flatpak applications using the .flatpakref (Flatpak) file?
\ 1. Search for applications on the Flathub platform
Go to the Flathub online app store and search for the app you want. (https://flathub.org/apps)
2. Download the .flatpakref Flatpak file
Click "Install" and it will download flatpak seed files like .flatpakref, which we will use to install the application in the next step.
3. Install Flatpak applications from the .flatpakref file
Now, run the following command to install the application using the .flatpakref file.
Flatpak install-from / path/to/.flatpakref
After installing the application, you can search the system or run the following command to open the application:
Flatpak run
How do I install Flatpak applications using the command line?
1. Install the Flathub Store
To install the Flatpak application from the terminal, we first need to install the Flathub store so that we can search for the application and then install it.
Therefore, run the command to add the Flathub that contains the complete list of Flatpak applications:
Linuxmi@linuxmi:~/www.linuxmi.com$ flatpak remote-add-if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
2. Search for Flatpak applications from the terminal
Now we can search for anything using a single command:
Flatpak search app-name
Linuxmi@linuxmi:~/www.linuxmi.com$ flatpak search vlc
It lists all applications related to the app-name keyword you enter.
3. Use App ID to install Flatpak application
Locate the application you want to install, copy its application ID, and pass it as input to the following command to install the application:
Flatpak install flathub
Linuxmi@linuxmi:~/www.linuxmi.com$ flatpak install flathub org.videolan.VLC
Now, run the application using the following command:
Flatpak operation
Use other Flatpak commands
If you want to do more with Flatpak, you can view all of its available commands by reading the man page:
Man flatpak
As you can see, there are several commands for managing installed applications. One of these is the flatpak list, which shows all installed Flaptak applications on the system.
Flatpak list
To update a specific application, you can run:
Flatpak update
Thank you for reading this article carefully. I hope the article "how to install Flatpak in Linux system" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.