Flatpak noobie question - No remote refs found for flathub

Still on Leap 15.6 here, but couldn’t tag it, so tagged 15.5.

Flatpak is installed:

:~> LANG=C zypper if flatpak
Loading repository data...
Warning: Repository 'update-backports (15.6)' metadata expired since 2026-07-10 08:19:15 -03.
Warning: Repository 'Update repository of openSUSE Backports' metadata expired since 2026-07-10 08:19:15 -03.

    Warning: Repository metadata expired: Check if 'autorefresh' is turned on (zypper lr), otherwise
    manually refresh the repository (zypper ref). If this does not solve the issue, it could be that
    you are using a broken mirror or the server has actually discontinued to support the repository.

Reading installed packages...


Information for package flatpak:
--------------------------------
Repository     : update-sle (15.6)
Name           : flatpak
Version        : 1.16.0-150600.3.6.1
Arch           : x86_64
Vendor         : SUSE LLC <https://www.suse.com/>
Installed Size : 7.0 MiB
Installed      : Yes (automatically)
Status         : up-to-date
Source package : flatpak-1.16.0-150600.3.6.1.src
Upstream URL   : https://flatpak.github.io/
Summary        : OSTree based application bundles management
Description    : 
    flatpak is a system for building, distributing and running sandboxed desktop
    applications on Linux. See https://wiki.gnome.org/Projects/SandboxedApps for
    more information.
type or paste code here

My problem:

:~> LANG=C flatpak install flathub org.cloudcompare.CloudCompare
Looking for matches?
error: No remote refs found for ?flathub?

That command comes from the CloudCompare download page itself, cloudcompare.org:

flathub packages are available for Linux.

[Flathub] type
flatpak install flathub org.cloudcompare.CloudCompare"

So, what am I doing wrong?

TIA,

Bruno

Run the script from here . I will add what you need and make sure your flatpaks end up in your homedir, so you don’t need to sudo all the time.

After install of flatpak, you need to set up your Flatpak system:

What @knurpht is talking about is:

Whether you do it the system way or the user way is up to you. @knurpht prefers user-way — I prefer system way. Both have their advantages and disadvantages.

  1. The tag is named, “leap-156-eol”.

  2. It would be waaaaay easier (and quicker) to run “Discover”, then do a search for the app … then simply click “Install”.

@knurpht and C7NhtpnK
Thanks for the useful tips and references! I’ll try them later.

@myswtest
Thanks for replying. Unfortunately I couldn’t find the leap-15.6-eol tag when writing the OP. I don’t think there is one.

Re. Discover, indeed, but it doesn’t show the package, perhaps because flatpak is not fully or correcly installed? IDN.

( see screenshot )

  1. Run Discover.
  2. Click Settings at lower-left
  3. If the Flatpak options (see the circled) are not “check-marked”, simply select with the mouse.

It’s all point-n-click easy … no messy command line stuff.

( Then you should be able to find it … I show a screenshot (previous Reply) on my 15.6 machine that I found it in about 10 seconds :+1: )

Well, yes, either way (GUI or CLI) you have to add/enable Flatpak sources.

Obviously, you have had the mere Flatpak, so far. You haven’t had access to the Flatpak (download) server.

Yes, there was no flatpak source installed. Added flathub, now it shows:
Central repository of Flatpak applications - dl.flathub.org
with checkbox enabled. There is no “user” differentiation, however. Is that OK?

Question: to discover asks for root password to install CloudCompare flatpak.
Is that system-wide (for all users)? If so, how to install for current user only?
There is only one user in this box, but I suppose there is a difference, perhaps in access or security-wise.

Apparently there is no issue with usability or permissions. Nice!
Thanks for all the help

One last question (at least for now :slight_smile: ): is there support for flatpak in Myrlyn, i.e., can I install flatpaks from it?

  1. Read Reply #2 in this thread from @knurpht … there is a URL … that will allow you to install Flatpaks as your user account. (and convert any from the system-wide to your user account.)

.
That’s why my screenshot shows two Flatpak entries, with one as “Flathub (user)” … that’s because I was originally using the “system-wide” … then ran the script from @knurpht and the “(user)” option showed up.

2 Likes

No. Myrlyn does not have a flatpak backend, Discover and GNOME Software do.

2 Likes