In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how to install Flatpak in Linux". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to install Flatpak in Linux.
Flatpak is a package management utility that allows you to distribute, install, and manage software without worrying about dependencies, runtime, or Linux distribution.
1. Deepin
1. Install Flatpak
Run the following command in the terminal:
Sudo apt install flatpak
two。 Install platform, sdk of Deepin
Run the following command in the terminal:
Sudo apt install deepin-fprt-com.deepin.platform-15.5 deepin-fprt-com.deepin.sdk-15.5
3. Install platform, sdk of Gnome (optional)
Run the following command in the terminal:
Sudo apt install deepin-fprt-org.gnome.platform deepin-fprt-org.gnome.platform.locale
Sudo apt install deepin-fprt-org.deepin.flatdeb.gnome.platform-15.5 deepin-fprt-org.deepin.flatdeb.gnome.sdk-15.5
4. Install other platform, sdk (optional)
Run the following command in the terminal:
Sudo apt install deepin-fprt-org.deepin.flatdeb.kde4.platform-15.5 deepin-fprt-org.deepin.flatdeb.kde4.sdk-15.5
Sudo apt install deepin-fprt-org.deepin.flatdeb.kf5.platform-15.5 deepin-fprt-org.deepin.flatdeb.kf5.sdk-15.5
5. Add Flathub Warehouse
Flathub is the best place to host Flatpak applications. Enable Flathub, run:
Flatpak remote-add-if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
6. Install the application
Now come and install the app.
II. Ubuntu
1. Install Flatpak
It is recommended to use Flatpak's official PPA to install Flatpak. Run the following command in the terminal:
Sudo add-apt-repository ppa:alexlarsson/flatpak
Sudo apt update
Sudo apt install flatpak
two。 Install the Flatpak plug-in
The Flatpak plug-in can install Flatpak applications without typing a command. Run:
Sudo apt install gnome-software-plugin-flatpak
3. Add Flathub Warehouse
Flathub is the best place to host Flatpak applications. Enable Flathub, run:
Flatpak remote-add-if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
4. Restart
Restart your computer to complete the installation. Now come and install the application.
III. Fedora
Fedora workstations have installed Flatpak,Flathub by default, which is the best place to host Flatpak applications. Enable Flathub quickly, just download and install flathub.flatpakrepo
IV. Endless OS
Endless OS 3.0.0 already supports Flatpak and does not need to be installed for new users.
If you are using an older version, upgrade to Endless OS 3 or above.
5. Red Hat Enterprise Linux
1. Install Flatpak
Run the following command to install Flatpak on Red Hat Enterprise Linux 7:
Sudo yum install flatpak
two。 Add Flathub Warehouse
Flathub is the best place to host Flatpak applications. Enable Flathub, run:
Flatpak remote-add-if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
3. Restart
Restart your computer to complete the installation. Now come and install the application.
VI. Linux Mint
Linux Mint 18.3/Linux Mint 19 already supports Flatpak and does not need to be installed for new users. If you are using an older version, upgrade to Linux Mint 18.3 or above.
7. OpenSUSE
1. Install Flatpak
Leap 42.1, Leap 42.2 and Tumbleweed can install Flatpak with one click
In Tumbleweed, you can use Zypper to install Flatpak:
Sudo zypper install flatpak
two。 Add Flathub Warehouse
Flathub is the best place to host Flatpak applications. Enable Flathub, run:
Flatpak remote-add-if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
3. Restart
Restart your computer to complete the installation. Now come and install the application.
Note: Tumbleweed and Leap 15.0 and above can only install Flatpak applications through a graphical interface.
VIII. Arch
1. Install Flatpak
Run the following command to install Flatpak:
Sudo pacman-S flatpak
two。 Restart
Restart the computer to complete the installation.
IX. Debian
1. Install Flatpak
Flatpak packages are available in Debian Stretch and above. Run the following command with root privileges:
Apt install flatpak
If you are using Debian Jessie, there are also flatpak packages available.
two。 Install the Flatpak plug-in
If you use GNOME, install the Flatpak plug-in for the GNOME software. Run:
Apt install gnome-software-plugin-flatpak
3. Add Flathub Warehouse
Flathub is the best place to host Flatpak applications. Enable Flathub, run:
Flatpak remote-add-if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
4. Restart
Restart the computer to complete the installation.
10. CentOS
When using GNOME, CentOS 7 has Flatpak installed by default. Download and install flathub.flatpakrepo to enable Flathub.
11. Gentoo
1. Install Flatpak
Install Flatpak using Flatpak overlay on Gentoo.
two。 Add Flathub Warehouse
Flathub is the best place to host Flatpak applications. Enable Flathub, run:
Flatpak remote-add-if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
3. Restart
Restart the computer to complete the installation.
Note: Gentoo may not be able to install Flatpak applications using a graphical interface.
12. Solus
1. Install Flatpak
From the terminal, run the following command to install Flatpak:
Sudo eopkg install flatpak xdg-desktop-portal-gtk
two。 Add Flathub Warehouse
Flathub is the best place to host Flatpak applications. Enable Flathub, run:
Flatpak remote-add-if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
3. Restart
Restart the computer to complete the installation.
Note: Solus may not be able to install Flatpak applications using a graphical interface.
XIII. Alpine
1. Install Flatpak
Install Flatpak from the test warehouse and run the following command on the terminal:
Sudo apk add flatpak
two。 Add Flathub Warehouse
Flathub is the best place to host Flatpak applications. Enable Flathub, run:
Flatpak remote-add-if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
3. Restart
Restart the computer to complete the installation.
Note: Alpine may not be able to install Flatpak applications using a graphical interface.
14. Mageia
1. Install Flatpak
Mageia 6 and above can use Flatpak. If you install with DNF, run the following command with root privileges:
Dnf install flatpak
Or use the urpmi installation and run the command:
Urpmi flatpak
two。 Add Flathub Warehouse
Flathub is the best place to host Flatpak applications. Enable Flathub, run:
Flatpak remote-add-if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
3. Restart
Restart the computer to complete the installation.
Note: Mageia may not be able to install Flatpak applications using a graphical interface.
Fifteen. Poppers operating system
1. Install Flatpak
It is recommended to use Flatpak's official PPA to install Flatpak. Run the following command in the terminal:
Sudo add-apt-repository ppa:alexlarsson/flatpak
Sudo apt update
Sudo apt install flatpak
two。 Add Flathub Warehouse
Flathub is the best place to host Flatpak applications. Enable Flathub, run:
Flatpak remote-add-if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
3. Restart
Restart the computer to complete the installation.
Note: the Popper applications OS may not be able to install Flatpak applications using a graphical interface.
16. Elementary OS
1. Install Flatpak
It is recommended to use Flatpak's official PPA to install Flatpak. Run the following command in the terminal:
Sudo apt install software-properties-common-no-install-recommends
Sudo add-apt-repository ppa:alexlarsson/flatpak
Sudo apt update
Sudo apt install flatpak
two。 Add Flathub Warehouse
Flathub is the best place to host Flatpak applications. Enable Flathub, run:
Flatpak remote-add-if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
3. Restart
Restart the computer to complete the installation.
Note: elementary OS may not be able to install Flatpak applications using a graphical interface.
Seventeen. Raspbian
1. Install Flatpak
Raspbian Stretch and above can use flatpak to run the following command with root privileges:
Apt install flatpak
two。 Add Flathub Warehouse
Flathub is the best place to host Flatpak applications. Enable Flathub, run:
Flatpak remote-add-if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
3. Restart
Restart the computer to complete the installation.
Note: Raspbian may not be able to install Flatpak applications using a graphical interface.
At this point, I believe you have a deeper understanding of "Linux how to install Flatpak". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue 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.