Hi all,

I am about to do a bit of a distro hop, and I am looking at Fedora and its spins, after years on Debian / POP.

I am not looking forward to setting it all up again, it’s a drag.

I wonder, is there a tool that lets me script installs?

I’ll want to check if application exists, and if so, update, otherwise, install. That kind of thing.

Things like:

  • Telegram
  • Joplin
  • Docker
  • Firefox
  • Ungoogle Chromium
  • Sublime Text
  • VSCodium
  • Keepass
  • Thunderbird
  • DBeaver
  • Gimp
  • Inkscape
  • KDENLive
  • Syncthing
  • Steam
  • VLC
  • Localsend
  • Flameshot
  • Element
  • Cherrytree
  • Calibre
  • Anydesk

I show the list, only to give an idea of what might be involved.

I’m new to Fedora, so not sure how it differs beyond the package manager. But, thought I’d ask.

Does such a tool exist, and is it worth my time? I can practice on a VM before trying on the final install/s.

Thank you

2 points

I use yadm’s post-checkout script feature to accomplish this on my machines.

permalink
report
reply
1 point

Or any of the similar tools listed here, based on personal preferences! I currently use Chezmoi, but I like that they help you discover alternatives.

permalink
report
parent
reply
5 points

I didn’t find any script that would install the apps you wanted, but I did find a script that will help you build your own (it’s pretty easy). You can take inspiration from this one and modify it, so that whenever you reinstall your system, you’ll run your script.

https://gist.github.com/engineervix/ed53aa410a22620013e04baca437abb3

Research what commands are used in Fedora to install what application and add them to your script. Then, give your .sh file execute permissions and run it. You can do this in a virtual machine first if you want.

permalink
report
reply
1 point

oh that is VERY nice, I even have a lenovo laptop. I think that will get me started for sure. Thank you

permalink
report
parent
reply
2 points

…aaaand DONE and tested. That was amazingly simple, when there’s a framework like that to work, and learn from. Thanks again.

permalink
report
parent
reply
2 points

Wow, that was fast. Glad it helped you.

permalink
report
parent
reply
1 point

Not to sound rude but I am fairly surprised to see this from a hexbear user. It seems like a lot of hexbear is just going around and trolling.

I can’t say I agree with hexbear but I appreciate the normal (and very useful) comment

permalink
report
parent
reply
13 points

You could write yourself a bash script to do this.

permalink
report
reply
3 points

This ended up working perfectly

permalink
report
parent
reply
1 point

Awesome!

permalink
report
parent
reply
2 points
*

Have you tried SaveDesktop? Thought It is limited in the flatpak softwares, but cloud synchronization feature is recently added.

permalink
report
reply
1 point

Was looking for this in this comment section, I see this solution as becoming the goto for moving between installs even though it is limited right now

permalink
report
parent
reply
5 points

Something like Ansible won’t help you the first time around, but it’ll make the next times easier.

permalink
report
reply
2 points

It can make the first time around easy if you use the proper plugin

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

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

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

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

Community stats

  • 8.4K

    Monthly active users

  • 6.3K

    Posts

  • 174K

    Comments