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
I use yadm’s post-checkout script feature to accomplish this on my machines.
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.
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.
…aaaand DONE and tested. That was amazingly simple, when there’s a framework like that to work, and learn from. Thanks again.
You could write yourself a bash script to do this.
Have you tried SaveDesktop? Thought It is limited in the flatpak softwares, but cloud synchronization feature is recently added.
Something like Ansible won’t help you the first time around, but it’ll make the next times easier.