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)
The flatpaks should be in
/var/lib/flatpak/
. https://man7.org/linux/man-pages/man5/flatpak-installation.5.html#:~:text=flatpak can operate in system,%2Fetc%2Fflatpak%2Finstallations.Edit: I don’t know if it’s enough, but you could try copying the files with
cp -a
.Thank you for the answer i did this and it worked(I only copied the necessary runtimes not the whole folder)
will flatpak be able to recognise the externally loaded libraries and is there any security issue with doing something like this
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.