Open Zirak opened 9 years ago
apt-get autoremove
removes everything that isn't needed though, like older kernel versions that were upgraded. It can't be used like this.
Let me sit on it and think about it.
As seen together, apt does offer a way to remove dependencies with a package, so the technical issue is solved.
However, personally, I don't have any reason to keep the dependencies when I remove a package, so I was thinking that this should be the default behavior. Thoughts?
Hurray! Hopefully other package managers have it as well.
Yes, you're right, it should be the default behaviour with a flag to disable it, perhaps uninstall --keep-deps
Pacman offers a way to uninstall a package alongside its dependencies which were not explicitly installed:
pacman -Rs something
From googling around,
apt-get
andyum
don't have that option but instead have a separateautoremove
command.It could be useful to have this as a flag:
/pkg/installed/something/uninstall --with-deps
or something along those lines.