{"id":7879,"date":"2021-07-10T12:05:10","date_gmt":"2021-07-10T12:05:10","guid":{"rendered":"https:\/\/linuxways.net\/?p=7879"},"modified":"2021-07-10T12:05:10","modified_gmt":"2021-07-10T12:05:10","slug":"how-to-install-flatpak-on-centos-8","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/centos\/how-to-install-flatpak-on-centos-8\/","title":{"rendered":"How to Install Flatpak on CentOS 8"},"content":{"rendered":"<p>Flatpak is a universal package management utility that is written in C. It allows different users to install and run software in an isolated environment. This utility behaves like a snap application, used for simplifying the software packages management across various operating distributions also used for deployment and virtualization. Flatpak can install on almost every type of Linux distribution.<\/p>\n<p>We will elaborate in this tutorial on how to install Flatpak on CentOS 8 system. We will complete the installation of Flatpak and in the next section; we will describe how you can easily remove Flatpak from your system.<\/p>\n<h2><strong>Prerequisites<\/strong><\/h2>\n<p>You must be a root user or have privileges to run sudo commands.<\/p>\n<h2><strong>Installation of Flatpak on CentOS 8<\/strong><\/h2>\n<p>Flatpak can directly install from the official CentOS 8 repository using the dnf package manager. Open the command-line tool \u2018Terminal\u2019 by clicking on the application icon as follows:<\/p>\n<h3><strong>Step 1: Update repository and install Flatpak<\/strong><\/h3>\n<p>First, update the package repository and then use the following command to install Flatpak on your system:<\/p>\n<pre>$ sudo dnf update<\/pre>\n<pre>$ sudo dnf install Flatpak<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1204\" height=\"761\" class=\"wp-image-7880\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/07\/word-image-23.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/07\/word-image-23.png 1204w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/07\/word-image-23-300x190.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/07\/word-image-23-1024x647.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/07\/word-image-23-768x485.png 768w\" sizes=\"auto, (max-width: 1204px) 100vw, 1204px\" \/><\/p>\n<p>Enter the administrative password. After that, Flatpak installation will begin on your system. During the installation, the user confirmation prompt will display on the terminal. Enter \u2018y\u2019 and then press the \u2018Enter\u2019 key to continue the installation.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"698\" class=\"wp-image-7881\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/07\/word-image-24.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/07\/word-image-24.png 1200w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/07\/word-image-24-300x175.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/07\/word-image-24-1024x596.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/07\/word-image-24-768x447.png 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p>After a few seconds, you will see the complete status on the terminal window that means an installation of flatpak is completed now.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1190\" height=\"758\" class=\"wp-image-7882\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/07\/word-image-25.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/07\/word-image-25.png 1190w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/07\/word-image-25-300x191.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/07\/word-image-25-1024x652.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/07\/word-image-25-768x489.png 768w\" sizes=\"auto, (max-width: 1190px) 100vw, 1190px\" \/><\/p>\n<h3><strong>Step 2: Check Flatpak version<\/strong><\/h3>\n<p>Check the installed Flatpak details on your system. The simple and easiest command to display the installed application information is given below:<\/p>\n<pre>$ rpm -qi package-name<\/pre>\n<pre>$ rpm -qi flatpak<\/pre>\n<p>The following information about the installed Flatpak version should display on your terminal window:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1192\" height=\"626\" class=\"wp-image-7883\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2021\/07\/word-image-26.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2021\/07\/word-image-26.png 1192w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/07\/word-image-26-300x158.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/07\/word-image-26-1024x538.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2021\/07\/word-image-26-768x403.png 768w\" sizes=\"auto, (max-width: 1192px) 100vw, 1192px\" \/><\/p>\n<h2><strong>Uninstall Flatpak from CentOS 8<\/strong><\/h2>\n<p>Flatpak utility can easily uninstall from your system by using the below-mentioned command:<\/p>\n<pre>$ sudo dnf remove flatpak<\/pre>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>We have implemented the installation steps of Flatpak on the CentOS 8 system in this article. Using Flatpak, users can easily install new packages or applications from the flathub repository in an isolated space. Please let us know about your difficulties via your feedback. We will suggest the best solution to your issues related to this article.<\/p>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>Flatpak is a universal package management utility that is written in C. It allows different users to install and run software in an isolated environment. This utility behaves&hellip;<\/p>","protected":false},"author":1,"featured_media":8242,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[93,193],"class_list":["post-7879","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","tag-centos-8","tag-flatpak"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/7879","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=7879"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/7879\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/8242"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=7879"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=7879"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=7879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}