flatpak doesn't work in centos 8

Issues related to applications and software problems and general support
Post Reply
abdossamad2003
Posts: 71
Joined: 2015/10/06 11:17:19

flatpak doesn't work in centos 8

Post by abdossamad2003 » 2021/10/04 12:09:15

hi centos 8 expert
I want to install some program from flathub, but it doesn't work!

Code: Select all

[samad@localhost ~]$ flatpak install flathub com.dropbox.Client
Looking for matches…

gerry666uk
Posts: 98
Joined: 2020/02/10 19:06:06

Re: flatpak doesn't work in centos 8

Post by gerry666uk » 2021/10/04 17:59:26

On my CentOS 8.4 system, there were no remotes configured. I tried adding a remote with this command (run as root)

Code: Select all

flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
I can now do things like this (as standard user)

Code: Select all

flatpak search dropbox
Dropbox Access your files from any com… com.dropbox.Client 132.4.3800 stable flathub

abdossamad2003
Posts: 71
Joined: 2015/10/06 11:17:19

Re: flatpak doesn't work in centos 8

Post by abdossamad2003 » 2021/10/11 15:31:31

doesn't work!

Code: Select all

[samad@localhost ~]$ flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
[samad@localhost ~]$ flatpak install -y flathub org.mozilla.firefox
Looking for matches…

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: flatpak doesn't work in centos 8

Post by TrevorH » 2021/10/11 15:51:32

Does

Code: Select all

[root@centos8 ~]# yum install flatpak
...
Install  34 Packages

Total download size: 8.5 M
Installed size: 31 M
Is this ok [y/N]: y
...
Complete!
[root@centos8 ~]# flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
[root@centos8 ~]# flatpak install flathub org.mozilla.firefox
Looking for matches?
Required runtime for org.mozilla.firefox/x86_64/stable (runtime/org.freedesktop.Platform/x86_64/20.08) found in remote flathub
Do you want to install it? [Y/n]: 

org.mozilla.firefox permissions:
    ipc                    network                  pcsc                          pulseaudio
    wayland                x11                      devices                       file access [1]
    dbus access [2]        bus ownership [3]        system dbus access [4]

    [1] /etc/firefox/policies, xdg-download
    [2] org.a11y.Bus, org.freedesktop.FileManager1, org.freedesktop.Notifications,
        org.freedesktop.ScreenSaver, org.gnome.SessionManager, org.gtk.vfs.*
    [3] org.mozilla.firefox.*, org.mpris.MediaPlayer2.firefox.*
    [4] org.freedesktop.NetworkManager


        ID                                       Branch      Op      Remote      Download
 1.     org.freedesktop.Platform.GL.default      20.08       i       flathub     < 106.4 MB
 2.     org.freedesktop.Platform.Locale          20.08       i       flathub     < 322.2 MB (partial)
 3.     org.freedesktop.Platform.openh264        2.0         i       flathub       < 1.5 MB
 4.     org.freedesktop.Platform                 20.08       i       flathub     < 268.1 MB
 5.     org.mozilla.firefox.Locale               stable      i       flathub      < 45.6 MB (partial)
 6.     org.mozilla.firefox                      stable      i       flathub      < 83.9 MB

Proceed with these changes to the system installation? [Y/n]: n
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

abdossamad2003
Posts: 71
Joined: 2015/10/06 11:17:19

Re: flatpak doesn't work in centos 8

Post by abdossamad2003 » 2021/10/11 16:00:42

Code: Select all

[samad@localhost ~]$ sudo yum install flatpak
Last metadata expiration check: 0:57:44 ago on Mon 11 Oct 2021 06:29:03 PM +0330.
Dependencies resolved.
=============================================================================================================================
 Package                                Architecture           Version                       Repository                 Size
=============================================================================================================================
Installing:
 flatpak                                x86_64                 1.8.5-4.el8                   appstream                 1.6 M
Installing dependencies:
 flatpak-selinux                        noarch                 1.8.5-4.el8                   appstream                  27 k
 flatpak-session-helper                 x86_64                 1.8.5-4.el8                   appstream                  75 k
Installing weak dependencies:
 p11-kit-server                         x86_64                 0.23.22-1.el8                 baseos                    179 k

Transaction Summary
=============================================================================================================================
Install  4 Packages

Total download size: 1.9 M
Installed size: 8.0 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): flatpak-selinux-1.8.5-4.el8.noarch.rpm                                                 12 kB/s |  27 kB     00:02    
(2/4): flatpak-session-helper-1.8.5-4.el8.x86_64.rpm                                          23 kB/s |  75 kB     00:03    
(3/4): p11-kit-server-0.23.22-1.el8.x86_64.rpm                                               116 kB/s | 179 kB     00:01    
(4/4): flatpak-1.8.5-4.el8.x86_64.rpm                                                        190 kB/s | 1.6 MB     00:08    
-----------------------------------------------------------------------------------------------------------------------------
Total                                                                                        139 kB/s | 1.9 MB     00:13     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                     1/1 
  Installing       : p11-kit-server-0.23.22-1.el8.x86_64                                                                 1/4 
  Installing       : flatpak-session-helper-1.8.5-4.el8.x86_64                                                           2/4 
  Installing       : flatpak-selinux-1.8.5-4.el8.noarch                                                                  3/4 
  Running scriptlet: flatpak-selinux-1.8.5-4.el8.noarch                                                                  3/4 
  Running scriptlet: flatpak-1.8.5-4.el8.x86_64                                                                          4/4 
  Installing       : flatpak-1.8.5-4.el8.x86_64                                                                          4/4 
  Running scriptlet: flatpak-1.8.5-4.el8.x86_64                                                                          4/4 
  Verifying        : flatpak-1.8.5-4.el8.x86_64                                                                          1/4 
  Verifying        : flatpak-selinux-1.8.5-4.el8.noarch                                                                  2/4 
  Verifying        : flatpak-session-helper-1.8.5-4.el8.x86_64                                                           3/4 
  Verifying        : p11-kit-server-0.23.22-1.el8.x86_64                                                                 4/4 

Installed:
  flatpak-1.8.5-4.el8.x86_64             flatpak-selinux-1.8.5-4.el8.noarch    flatpak-session-helper-1.8.5-4.el8.x86_64   
  p11-kit-server-0.23.22-1.el8.x86_64   

Complete!
[samad@localhost ~]$ flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
[samad@localhost ~]$ flatpak install flathub org.mozilla.firefox
Looking for matches…


what is wrong?

lightman47
Posts: 1521
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: flatpak doesn't work in centos 8

Post by lightman47 » 2021/10/11 22:13:50

[Rhel 8]
after flatpack install, I was required to reboot. Thereafter, apps showed up in the Software app.

I went here to install, then clicked Flathub repository file, then rebooted:


https://flatpak.org/setup/Red%20Hat%20E ... e%20Linux/

Post Reply