My question is ideological, I want my system to be lightweight but over time I accumulate services that I need from time to time but not always.
I was reading this. Why would services like postgres, docker, apache run on every boot? Would make sense for server distros but not for personal machines.
I know it's probably the decision of the developers of the software, not the distro, but it's kind of annoying and your system doesn't feel lightweight when you know there's postgres in the background. Turning this off is trivial but it's non-trivial to keep track that your system isn't running something like docker engine when you don't need it. Windows manages this better (even though it's overall slower)
So I'm thinking maybe I have misconceptions:
Are the services actually running or are they just ready to run? I.e do they actually consume power and compute when I'm not using them?
Is there something that I'm missing on how to manage this?
Are
service
andsystemctl
the right tools to manage this?Same problem with packages, I install a package and its dependencies and now I don't know what's going to be running as a service in the background, am I just missing how to use
apt
?Is there a way to have a default configuration that the user services have to be run explicitly unless otherwise stated?
apt remove
packages you don't need.systemctl disable
services that you do not want to start automatically. Everything is under you control. – FedKad Oct 30 '23 at 08:52