Skip to content
Shellbay

Maintenance · about 2 min · 3 steps

Remove unused packages

Uninstalls packages that were only installed as helpers for software that's since been removed, such as old kernels.

Runs on

  • Debian / Ubuntu: supported
  • RHEL / Fedora: supported
  • Alpine: supported — Alpine removes unused helpers automatically; this only reports.

What it changes on your server

  • Removes automatically installed packages nothing needs any more (apt autoremove, dnf autoremove). Software you installed yourself stays.
  • The running kernel is always kept.
  • On Alpine nothing is removed: apk already removes unneeded helpers whenever a package is uninstalled.

What Shellbay asks you

Nothing. This workflow needs no details from you.

Steps

  1. List unused packages
  2. Remove them
  3. Check none are left

Shellbay checks the server before the first step, and stops at the first step that fails.

When it's done

  • Unused packages are gone; the software you installed is untouched.