# Rocky Linux 8: Flatpak not working

**URL:** <https://forums.rockylinux.org/t/rocky-linux-8-flatpak-not-working/7693>\
**Category:** Rocky Linux Help & Support\
**Created:** [October 30, 2022, 6:39am UTC](https://forums.rockylinux.org/t/rocky-linux-8-flatpak-not-working/7693 "2022-10-30T06:39:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![microlinux](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/microlinux/32/1244_2.png) [@microlinux](https://forums.rockylinux.org/u/microlinux)\
**Post date:** [October 30, 2022, 6:39am UTC](https://forums.rockylinux.org/t/rocky-linux-8-flatpak-not-working/7693/1 "2022-10-30T06:39:31Z")

</div>

Hi,

Looks like Flatpak is not working under Rocky Linux 8. I tried this on a fresh installation of Rocky Linux 8:

`flatpak remote-add flathub https://flathub.org/repo/flathub.flatpakrepo`

The command just hangs and does nothing.

I tested it on OpenSUSE Tumbleweed, and it works perfectly.

What now ?

---

<div class="post-metadata">

**Author:** ![olista](https://avatars.discourse-cdn.com/v4/letter/o/7993a0/32.png) [@olista](https://forums.rockylinux.org/u/olista)\
**Post date:** [October 30, 2022, 8:10am UTC](https://forums.rockylinux.org/t/rocky-linux-8-flatpak-not-working/7693/2 "2022-10-30T08:10:54Z")

</div>

Hi

In a standard Rocky Linux 8.6 (Server with GUI, GNOME desktop) a window asking for the user’s password pops up. After entering the password, the installation is finished. If using sudo, the window does not pop us and the installation is done immediately.

Alternatively the flatpak remote can be installed in this way:

```auto
sudo wget -P /etc/flatpak/remotes.d https://flathub.org/repo/flathub.flatpakrepo

```

---

<div class="post-metadata">

**Author:** ![microlinux](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/microlinux/32/1244_2.png) [@microlinux](https://forums.rockylinux.org/u/microlinux)\
**Post date:** [October 30, 2022, 9:15am UTC](https://forums.rockylinux.org/t/rocky-linux-8-flatpak-not-working/7693/3 "2022-10-30T09:15:33Z")

</div>

> [@olista](#):
>
> Alternatively the flatpak remote can be installed in this way:
> 
> ```auto
> sudo wget -P /etc/flatpak/remotes.d https://flathub.org/repo/flathub.flatpakrepo
> 
> ```

That did the trick. Thanks very much !

---

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)\
**Post date:** [August 25, 2023, 3:36am UTC](https://forums.rockylinux.org/t/rocky-linux-8-flatpak-not-working/7693/4 "2023-08-25T03:36:18Z")

</div>

Closed on August 25, 2023, 3:36am UTC


