Filter kernel variants
The recommended view follows your running kernel's flavour and hides debug packages. Press a to include unsigned, cloud, RT and debug variants.
Browse installed and available Linux kernels, see which one is running, and preview package changes before applying them.
For Debian and Ubuntu, including servers over SSH.
uv tool run --python /usr/bin/python3 kerntop| Build / flavour | State | Installed | Candidate | Headers |
|---|---|---|---|---|
| 6.8.0-49-generic | RUNNING | 6.8.0-49.49 | 6.8.0-49.49 | 6.8.0-49-generic |
| 6.8.0-45-generic | installed | 6.8.0-45.45 | 6.8.0-45.45 | 6.8.0-45-generic |
| 6.8.0-51-generic | available | - | 6.8.0-51.52 | 6.8.0-51-generic |
Kernel series 6.8: 3 builds; showing recommended variants. Press Enter for actions.
| Kernel series | Installed | Available | Builds |
|---|---|---|---|
| 6.11 | 0 | 1 | 1 |
| 6.8 | 2 | 1 | 3 |
2 kernel series for amd64; running: 6.8.0-49-generic.
Showing recommended variants. Press Enter to view builds.
Preview removal
Remove
Preview purge
Purge
Queue removal
Remove keeps this package's configuration. Purge also removes that configuration.
WARNING: this is the final non-running fallback kernel.
h Helpr Reload cachea Toggle variantsp Preview removalq Queue removalEsc Back / quit
apt-get transactions as root. Preview the transaction and read its confirmation before applying.Browse by series and build using the arrow keys. Enter opens the actions for the selected kernel.
The recommended view follows your running kernel's flavour and hides debug packages. Press a to include unsigned, cloud, RT and debug variants.
Preview a contextual action using apt-get --simulate. Queue several changes and review them as one apt transaction.
The running kernel and meta packages cannot be removal targets. Fallback warnings make the consequences visible before confirmation.
Use a Debian- or Ubuntu-based system with Python 3.11 or newer. No graphical desktop or graphical libraries are needed.
kerntop uses Debian's python3-apt bindings, which are compiled for your system Python at /usr/bin/python3. That is why every command below selects that Python explicitly.
sudo apt-get install python3-apt
Run kerntop once in a temporary environment, without installing it.
uv tool run --python /usr/bin/python3 kerntop# oruvenv run --python /usr/bin/python3 kerntoppipx run --python /usr/bin/python3 kerntop
Install kerntop as a command on your path.
uv tool install --python /usr/bin/python3 kerntop# oruvenv install --python /usr/bin/python3 kerntoppipx install --python /usr/bin/python3 kerntop
Prefer plain pip? Run pip install kerntop inside a virtual environment created with /usr/bin/python3. kerntop reports an error if the bindings are missing or the Python versions do not match.
$ kerntopStart read-only. Press e to restart through sudo when you need package actions.
$ kerntop -eStart through sudo with previews and package actions enabled. You can also run sudo kerntop.
When elevating, kerntop closes before sudo asks for your password, using the normal terminal prompt over SSH.
Press r in root mode to refresh apt repository indexes and reload package state. In read-only mode, it reloads the local cache without contacting repositories.
Select an available build and press p to preview installation, then i to install after confirmation. The transaction includes available matching headers that are not already installed.
6.8.0-49-generic.Remove keeps the image package's configuration; purge removes it too. The running kernel and kernel meta packages cannot be selected for removal or purge. Removing your final non-running fallback requires a warning and confirmation.
While apt-get is running, Ctrl + C requests a graceful interruption. Its output stays visible.
Press u from the main browser, or start with kerntop -u, to review unused development headers and kernel-support packages. To start that review with root controls enabled:
kerntop -eu
Review explicit packages, such as linux-headers-6.5.0-14-generic, before confirming cleanup. kerntop never runs autoremove automatically.
Press h inside kerntop, or start with kerntop --help, to open Help. Previews, queues and package changes require root.
| Up Down | Choose a row. |
|---|---|
| Enter | Open a series, build or its valid actions. |
| Esc / Left | Back to the series list. Esc twice there quits. |
| a | Toggle recommended and all variants without reloading the cache. |
| p | Preview contextual installation or removal with apt-get --simulate. |
| q / c | Queue a contextual action / review the queue. |
| i | Install an available kernel image after confirmation. |
| d | Remove an installed, non-running image after confirmation. |
| u | Review unused headers and support packages in the main browser. |
| e | Restart through sudo from a read-only session. |
| r | Refresh repositories and reload the cache in root mode; reload only the local cache otherwise. |
| Ctrl + C | Request a graceful interruption of an active apt-get command; quit when no command is running. |
| h | Open help. |