linutil icon indicating copy to clipboard operation
linutil copied to clipboard

Flatpak & FlatHub setup

Open mak448a opened this issue 1 year ago • 8 comments

Is your feature request related to a problem? Please describe. Some distros don't come with Flatpak or Flathub preinstalled. Sometimes, distros don't ship with Flathub preconfigured. I add Flathub to Fedora every time I install it

Describe the solution you'd like Could you add a script to install Flatpak and enable Flathub? Enable flathub command: flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Describe alternatives you've considered Adding flathub normally.

mak448a avatar Sep 06 '24 17:09 mak448a

actually fedora support flatpak packages by default without using the command above

harshv5094 avatar Sep 09 '24 16:09 harshv5094

Oh ok. I haven't reinstalled Fedora in a bit. Could you still add that for other distros?

mak448a avatar Sep 09 '24 18:09 mak448a

No, I don't think other distros provide flatpak by default.

harshv5094 avatar Sep 09 '24 18:09 harshv5094

Ok, changed to flatpak and flathub setup then.

mak448a avatar Sep 09 '24 18:09 mak448a

It could be added within the gaming depencencies I believe. For Arch it's simply sudo pacman -S flatpak. For Debian there is a couple more steps but nothing overly complicated.

avaera8775 avatar Sep 10 '24 15:09 avaera8775

I think, we need to make a script for it, the problem is user need to test all this in different distro. VM may be a solution to test it

harshv5094 avatar Sep 10 '24 15:09 harshv5094

Yes, it should probably belong in the gaming dependencies script. It needs to take into account of which distro/package manager the user are using. I'm working on a seperate PR for VM dependencies so I could start drafting on one for Flatpak. It's not a bad suggestion.

avaera8775 avatar Sep 10 '24 15:09 avaera8775

I think, we need to make a script for it, the problem is user need to test all this in different distro. VM may be a solution to test it

You can use distrobox for that.

mak448a avatar Sep 10 '24 16:09 mak448a