Remove unused dependencies (apt autoremove)
remove old kernels debian | apt autoremove unused packages | packages were automatically installed and are no longer required | apt | cleanup | kernelCaution: This command changes the system. Understand what it does before you run it.
apt autoremoveRemoves packages that were once installed as a dependency and are no longer needed by any installed package. Typical candidates are old kernels and libraries after a version change. Before removing anything, apt shows the list and waits for confirmation, and configuration files are kept.
Note: Check the list before confirming. If a package you need was only installed as a dependency, it will be removed too. Prevent that beforehand with apt-mark manual paketname.
Also searched as
- remove old kernels debian
- apt autoremove unused packages
- packages were automatically installed and are no longer required