There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Possible to import Flatpak libraries

I recently swapped my hdd with an ssd and performed a fresh install of fedora, When I went to reinstall my flatpak application it is requiring me to install gigabytes worth of dependencies and libraries, I am in a Data crunch and I still have the old files; is it possible to just copy the dependencies over and which files am i supposed to copy? (Old installation was also fedora with same username and passwd)

Pantherina ,

Flatpaks are all containerized, its really nice. All in the same directory, glad that it worked! You can do the same for the Flatpak user data directories in ~/.var/app/.

Run the Flatpak app once, close it again, then the user data file structure will be there. If you delete the files you simply reset the app, its like Android, awesome.

And if you simply delete all the files and swap in your old files, it will be the same Flatpak app as on the old device.

possiblylinux127 ,

I wouldn’t recommended it. It would be better to delete the old stuff and download fresh

Artemis_Mystique OP ,

I cant, my data limit wont be enough: the official fedora rpms dont have the necessary codecs and i need flatpaks

possiblylinux127 ,

This might sound silly, but couldn’t you just get a better connection? You are using bandwidth for lemmy so your internet can’t be that bad. In the worst case you can just go to your local library.

stockRot ,

What an awfully myopic understanding of the world lmao

possiblylinux127 ,

Possibly, that’s why I said “silly”. I’m just curious what there internet access looks like

bjoern_tantau ,
@bjoern_tantau@swg-empire.de avatar

The flatpaks should be in /var/lib/flatpak/. man7.org/linux/…/flatpak-installation.5.html#:~:t….

Edit: I don’t know if it’s enough, but you could try copying the files with cp -a.

Artemis_Mystique OP ,

will flatpak be able to recognise the externally loaded libraries and is there any security issue with doing something like this

Chewy7324 ,

It’s not a security issue given your old system wasn’t compromised. I don’t know enough about how flatpak tracks whether a runtime is already downloaded. If copying works, please come back and comment that it works.

If you’ve used flatpak --user, apps and runtimes are also in ~/.local/lib/flatpak that need to be copied.

Artemis_Mystique OP ,

Thank you for the answer i did this and it worked(I only copied the necessary runtimes not the whole folder)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines