# Using Flathub to upgrade to 5.2 is unclear

**URL:** <https://gramps.discourse.group/t/using-flathub-to-upgrade-to-5-2-is-unclear/4993>\
**Category:** Help\
**Tags:** flatpak\
**Created:** [February 26, 2024, 5:29pm UTC](https://gramps.discourse.group/t/using-flathub-to-upgrade-to-5-2-is-unclear/4993 "2024-02-26T17:29:58Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [February 26, 2024, 5:29pm UTC](https://gramps.discourse.group/t/using-flathub-to-upgrade-to-5-2-is-unclear/4993/1 "2024-02-26T17:29:58Z")

</div>

Now that 5.2.0-1 is listed on FlatHub, doing a noob test with the Flatpak before updating the [Flatpak version template for the wiki](https://gramps-project.org/wiki/index.php/Template:Version_Linux_Flatpak).

> Visit the [Flathub page for Gramps](https://flathub.org/apps/org.gramps_project.Gramps) at Flathub dot org.  
> `https://flathub.org/apps/org.gramps_project.Gramps`
> 
> Alternatively, you can use the following command in a terminal for a system-wide installation if you have sudo privileges: `flatpak install flathub org.gramps_project.Gramps`

* * *
Unfortunately: the "Install" button on the FlutHub downloads a `org.gramps_project.Gramps.flatpakref`. Chosing the "Open with software Install" (shortcut = "Enter/Return") just shows: ![image|642x491](upload://rfDPZseWpGVTE6koAr7i5tdf6V3.png)

---

<div class="post-metadata">

**Author:** ![S.Mackay](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@S.Mackay](https://gramps.discourse.group/u/S.Mackay)\
**Post date:** [February 26, 2024, 9:07pm UTC](https://gramps.discourse.group/t/using-flathub-to-upgrade-to-5-2-is-unclear/4993/2 "2024-02-26T21:07:35Z")

</div>

Thank you for updating the wiki. I see the problem, the flathub repository has to be setup on some distros like Debian and LM. Other distros like Fedora, which I use now, has flathub setup by default, so clicking on the downloaded flatpakref opens Gnome Software without any other steps. There is a link for setup at the top of the flathub landing page, here is the direct link.

> **[Set Up Flathub | Flathub](https://flathub.org/setup)**
>
> Set up Flathub to install and update apps on your system.

There is another problem with the wording at the gramps-project wiki, which is that somebody might use sudo flatpak install… instead of flatpak install and waiting for the prompt. I will see if I still have the rights to edit the page.

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [February 26, 2024, 9:16pm UTC](https://gramps.discourse.group/t/using-flathub-to-upgrade-to-5-2-is-unclear/4993/3 "2024-02-26T21:16:24Z")

</div>

> [@S.Mackay](#):
>
> Other distros like Fedora, which I use now, has flathub setup by default, so clicking on the downloaded flatpakref opens Gnome Software without any other steps.

Odd. I was resting with Fedora 39

---

<div class="post-metadata">

**Author:** ![S.Mackay](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@S.Mackay](https://gramps.discourse.group/u/S.Mackay)\
**Post date:** [February 26, 2024, 9:18pm UTC](https://gramps.discourse.group/t/using-flathub-to-upgrade-to-5-2-is-unclear/4993/4 "2024-02-26T21:18:36Z")

</div>

I submitted changes, like fixing the setup link, the removal of BSDDB3, and removing the sudo reference. I don’t know what to do about the automatic version code at the beginning of the gramps-project wiki for Flathub. It still refers to 5.1.6 instead of 5.2.0.

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [February 26, 2024, 9:20pm UTC](https://gramps.discourse.group/t/using-flathub-to-upgrade-to-5-2-is-unclear/4993/5 "2024-02-26T21:20:49Z")

</div>

Ok. I will test again and see if it will try to install the Flatpak on Fedora39.

Then update the Flatpak Version template.

[https://gramps-project.org/wiki/index.php/Template:Version\_Linux\_Flatpak](https://gramps-project.org/wiki/index.php/Template:Version_Linux_Flatpak)

---

<div class="post-metadata">

**Author:** ![S.Mackay](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@S.Mackay](https://gramps.discourse.group/u/S.Mackay)\
**Post date:** [February 26, 2024, 9:28pm UTC](https://gramps.discourse.group/t/using-flathub-to-upgrade-to-5-2-is-unclear/4993/6 "2024-02-26T21:28:26Z")

</div>

Gnome Software has two places for flatpak repositories. If you click the three bars at the top right, then select “Software Repositories”, a new window will show. The first flatpak repository location is the “Apps (Flatpak)” at the top. The second flatpak repository location is in the “Fedora Third Party Repositories” section, where there is a listing for “Flathub”. Maybe flathub has to be manually selected to enable the flatpakref file to use Gnome Software to install Gramps from flathub? If so, the flathub setup page for Fedora is out of date.

–Edit, I checked the Flathub setup page for Fedora again. It does mention having to enable the “Flathub” setting, but also gives an optional script that will also add Flathub (without mentioning that it is an optional step since all you have to do is to enable Flathub near the bottom of the repository list in Gnome Software). Having the Fedora Flatpaks at the top and separate from the Flathub option can be a little confusing.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [March 27, 2024, 9:28pm UTC](https://gramps.discourse.group/t/using-flathub-to-upgrade-to-5-2-is-unclear/4993/7 "2024-03-27T21:28:42Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
