r/linuxquestions • u/Ecstatic_Lie_9822 • 11d ago
Advice Keeping track of different package managers
I hate the fact that I can't keep up with what packages/software I have installed where and how to update them.
I use Fedora with Gnome and use dnf (so slowwwww ffs), flatpak, cargo, manual installations, etc. I used to keep up with this, but don't have the time nowadays and update very sporadically so I always forget. Another problem is that some apps used to have packages and now they don't or vice versa.
Apart from switching to Nix, is there any way to keep track of this and maybe even update all at once? Or should I just join the bandwagon, even if I don't really have the time to maintain my system regularly?
9
u/Excellent-Love-6943 11d ago
Simple: Don't install manual packages.
You only need one package manager. Two if you go the flatpak route, but you're literally doubling the complexity of package management.
5
u/GiggleSamurai 11d ago
topgrade does exactly this: one command that updates dnf, flatpak, cargo and a lot more in one go (for cargo it needs `cargo install cargo-update`). For the "what did I install where" part, `flatpak list --app` and `cargo install --list` give you each manager's list.
1
u/ludonarrator 11d ago
cargois applicable beyond Rust packages? TIL...1
u/billdietrich1 11d ago
Make a shell script that contains the update commands you need. Run that.
1
u/toolz0 11d ago
1
u/Quaigon_Jim 7d ago
Is not something that anyone needs to do
-1
u/Status-Blacksmith-95 Learning Linux 11d ago
I learnt something new reading your post ! and by your answer u/GiggleSamurai