Automated installation of multiple applications after a fresh OS install? (Fedora)
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
You are viewing a single comment
I have a bash script I use to script my Silverblue install. Something like this should work.
I have it set up this way so that I just have a bunch of bash variables describing the stuff I want to install all at the top of the file, but the function definitions and calls lower down since I don't need to see them.
It also does other things like removes packages from the system, removes some preinstalled flatpaks, installs flatpaks from Fedora Flatpaks / Flathub / gnome-nightly, and sets up gnome through a list
gsettings
commands.As I use my system, I add new apps to the list I want next time I install and remove apps I don't use.
I love this, I will update the script I've setup to mirror your idea. Nice and clean.
I wonder if you can help at all? The only app that fails install is Anydesk. I have to do the following:
Is there a special way to add that kind of command to a bash script? All good apart from that though.
I think that’s just a dependency issue unrelated to the script.
ok, thank you. I'll address that, in that case. Thanks again!
EDIT, and resolved. Thanks again.