{"id":45795,"date":"2017-07-26T10:50:43","date_gmt":"2017-07-26T10:50:43","guid":{"rendered":"https:\/\/www.libretro.com\/?p=45795"},"modified":"2018-02-11T21:10:55","modified_gmt":"2018-02-11T21:10:55","slug":"retroarch-with-flatpak","status":"publish","type":"post","link":"https:\/\/www.libretro.com\/index.php\/retroarch-with-flatpak\/","title":{"rendered":"RetroArch with Flatpak &#8211; Distro-independent Linux version!"},"content":{"rendered":"<p><a href=\"https:\/\/flatpak.org\"><img decoding=\"async\" loading=\"lazy\" class=\"alignright size-full wp-image-45814\" src=\"https:\/\/www.libretro.com\/wp-content\/uploads\/2017\/07\/flatpak.png\" alt=\"Flatpak Logo\" title=\"Flatpak\" width=\"220\" height=\"220\" srcset=\"https:\/\/www.libretro.com\/wp-content\/uploads\/2017\/07\/flatpak.png 220w, https:\/\/www.libretro.com\/wp-content\/uploads\/2017\/07\/flatpak-150x150.png 150w\" sizes=\"(max-width: 220px) 100vw, 220px\" \/><\/a>Installing <a href=\"http:\/\/retroarch.com\/\">RetroArch<\/a> on Linux has just become a whole lot easier with the use of <a href=\"http:\/\/flatpak.org\/\">Flatpak<\/a>.\u00a0Flatpak\u00a0provides a common standard in which to install sandboxed applications across many different Linux operating systems and desktop environments. Along with the <a href=\"https:\/\/flathub.org\/\">Flathub repository<\/a>, installing RetroArch with Flatpak becomes a breeze.<\/p>\n<h2>Install Flatpak<\/h2>\n<p>The first thing to do when getting up and running with Flatpak is to <a href=\"http:\/\/flatpak.org\/getting.html\">install it<\/a>. There are many different ways to <a href=\"http:\/\/flatpak.org\/getting.html\">install Flatpak<\/a>, so I&#8217;ll let you decide the best for your distribution. Once installed, you should be able to run the following command to see how to use it:<\/p>\n<pre>flatpak --help<\/pre>\n<p><a href=\"https:\/\/flathub.org\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.libretro.com\/wp-content\/uploads\/2017\/07\/flathub.png\" alt=\"Welcome to Flathub\" title=\"Flathub is a Flatpak repository\" width=\"423\" height=\"136\" class=\"aligncenter size-full wp-image-45824\" srcset=\"https:\/\/www.libretro.com\/wp-content\/uploads\/2017\/07\/flathub.png 423w, https:\/\/www.libretro.com\/wp-content\/uploads\/2017\/07\/flathub-300x96.png 300w\" sizes=\"(max-width: 423px) 100vw, 423px\" \/><\/a><\/p>\n<h2>Add Flathub<\/h2>\n<p>Much like your favourite package manager, Flatpak uses repositories to manage available applications. <a href=\"https:\/\/flathub.org\/\">Flathub<\/a> is a quickly-growing Flatpak repository, which is where RetroArch is available from. To let Flatpak know about Flathub, you&#8217;ll have to add the repository to your remotes:<\/p>\n<pre>flatpak remote-add --user --if-not-exists flathub https:\/\/flathub.org\/repo\/flathub.flatpakrepo<\/pre>\n<h2>Install RetroArch<\/h2>\n<p>Now that the <code>flathub<\/code> remote is available, you can now install <a href=\"https:\/\/github.com\/flathub\/org.libretro.RetroArch\">RetroArch on Flathub<\/a>:<\/p>\n<pre>flatpak install --user flathub org.libretro.RetroArch<\/pre>\n<h2>Run RetroArch with Flatpak<\/h2>\n<p>When RetroArch is installed through Flatpak, it will automatically become available through the system menu and you can run it as normal. Alternatively, you can also run it through the terminal:<\/p>\n<pre>flatpak run org.libretro.RetroArch<\/pre>\n<figure id=\"attachment_45809\" aria-describedby=\"caption-attachment-45809\" style=\"width: 962px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.libretro.com\/wp-content\/uploads\/2017\/07\/retroarch-flatpak-1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-45809 size-full\" src=\"https:\/\/www.libretro.com\/wp-content\/uploads\/2017\/07\/retroarch-flatpak-1.png\" alt=\"Screenshot of RetroArch running through Flatpak\" title=\"RetroArch running through Flatpak\" width=\"962\" height=\"749\" srcset=\"https:\/\/www.libretro.com\/wp-content\/uploads\/2017\/07\/retroarch-flatpak-1.png 962w, https:\/\/www.libretro.com\/wp-content\/uploads\/2017\/07\/retroarch-flatpak-1-300x234.png 300w, https:\/\/www.libretro.com\/wp-content\/uploads\/2017\/07\/retroarch-flatpak-1-768x598.png 768w\" sizes=\"(max-width: 962px) 100vw, 962px\" \/><\/a><figcaption id=\"caption-attachment-45809\" class=\"wp-caption-text\">RetroArch running through Flatpak<\/figcaption><\/figure>\n<p>With <a href=\"https:\/\/flatpak.org\">Flatpak<\/a>, you can install applications on Linux very easily, no matter what distribution or desktop environment you use. Flatpak repositories like\u00a0<a href=\"https:\/\/flathub.org\/\">Flathub<\/a> provide a central hub\u00a0in which to keep applications up to date. This\u00a0revolutionises the way applications can be installed on Linux, and provides just one more easy way to install RetroArch.<\/p>\n<h2>Resources<\/h2>\n<ul>\n<li><a href=\"https:\/\/flatpak.org\">Flatpak<\/a><\/li>\n<li><a href=\"https:\/\/flathub.org\/\">Flathub<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/flathub\/org.libretro.RetroArch\"><code>org.libretro.RetroArch<\/code> manifest on GitHub<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Installing RetroArch on Linux has just become a whole lot easier with the use of Flatpak.\u00a0Flatpak\u00a0provides a common standard in which to install sandboxed applications across many different Linux operating systems and desktop environments. Along with the Flathub repository, installing RetroArch with Flatpak becomes a breeze. Install Flatpak The first thing to do when getting [&hellip;]<\/p>\n","protected":false},"author":8684,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[28,153,2,80,5],"tags":[154,67,134,56],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.libretro.com\/index.php\/wp-json\/wp\/v2\/posts\/45795"}],"collection":[{"href":"https:\/\/www.libretro.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.libretro.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.libretro.com\/index.php\/wp-json\/wp\/v2\/users\/8684"}],"replies":[{"embeddable":true,"href":"https:\/\/www.libretro.com\/index.php\/wp-json\/wp\/v2\/comments?post=45795"}],"version-history":[{"count":30,"href":"https:\/\/www.libretro.com\/index.php\/wp-json\/wp\/v2\/posts\/45795\/revisions"}],"predecessor-version":[{"id":45831,"href":"https:\/\/www.libretro.com\/index.php\/wp-json\/wp\/v2\/posts\/45795\/revisions\/45831"}],"wp:attachment":[{"href":"https:\/\/www.libretro.com\/index.php\/wp-json\/wp\/v2\/media?parent=45795"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.libretro.com\/index.php\/wp-json\/wp\/v2\/categories?post=45795"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.libretro.com\/index.php\/wp-json\/wp\/v2\/tags?post=45795"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}