this post was submitted on 17 Dec 2024
45 points (95.9% liked)

Linux

58957 readers
1432 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

I have a couple of flatpaks installed that are no longer available on flathub, and i want to make sure to back them up so that i can run them later if i install a fresh distro for example.

Is it as simple as copying the application folder from ~/.local/share/flatpak and adding it there later? Does that include dependencies as well?

all 11 comments
sorted by: hot top controversial new old
[–] Chewy7324@discuss.tchncs.de 28 points 10 months ago (3 children)

Yes, ~/.local/share/flatpak includes all user installed flatpaks, while /var/lib/flatpak includes all system wide installed flatpaks. Both include repository information and required runtimes (i.e. dependencies).

This does not include user data, which is stored in ~/.var/app.

Make sure to test your backup just in case on another system/VM.

[–] lunsjentilanette@sh.itjust.works 3 points 10 months ago

Perfect, thank you!!!

[–] Railison@aussie.zone 2 points 10 months ago

Can someone explain why global flatpaks are installed in /var/lib and not /opt or /usr/local?

[–] LifeLemons@lemmy.ml -2 points 10 months ago (1 children)

What about app data? If I only want to backup my app data for all flatpak application but not the application itself, where can I find the directory?

[–] mearce@programming.dev 5 points 10 months ago (1 children)

Based on the above comment, I think you are looking for ~/.var/app.

[–] LifeLemons@lemmy.ml -1 points 10 months ago* (last edited 10 months ago)

Bruh, I am pretty sure when I commented the question, this information wasn't there.

Is there a way to see previous edits of a comment in fediverse?

Edit: Nvm I didnt read properly

[–] Blisterexe@lemmy.zip 19 points 10 months ago* (last edited 10 months ago) (1 children)

there's an app called warehouse that makes this easy afaik

[–] deadcatbounce@reddthat.com -3 points 10 months ago
[–] Lemmchen@feddit.org 11 points 10 months ago (1 children)

Is there a specific reason why these packages are no longer on Flathub?

[–] lunsjentilanette@sh.itjust.works 36 points 10 months ago

Yes, they are switch emulators and were taken down by the developers following legal troubles with nintendo