update-kernel(8)
| update-kernel(8) | System Manager's Manual | update-kernel(8) |
NAME
update-kernel - Linux kernel update tool
SYNOPSIS
update-kernel [options]
DESCRIPTION
update-kernel - script to conveniently update kernel and modules.
It works by installing a new package set along with the existing kernel. The old kernel is kept so that you don´t end up without a kernel guaranteed to boot (your good old one); by default, it will look for the most recent package of the same flavour (e.g. "std-def") and try to install all the same modules as already installed for that.
OPTIONS
- -l, --list
- list available kernels
- -a, --all
- install all kernel modules
- -i, --interactive
- interactive modules install
- -H, --headers
- add kernel headers to install
- -A modulename
- include (add) external module (by a short name)
- -D modulename
- exclude (del) external module from install
- -f, -y, --force
- force kernel upgrade (without confirmation dialog)
- -t, --type
- install kernel with specified flavour (un-def, std-def, etc), special name 'latest' selects newest flavour
- -r, --release
- desired kernel release for the current or selected above flavour (allowed
formats by example:
old format: alt1, 5.7.19-alt1
classic kernel release: 5.7.19-std-def-alt1
package name: [kernel-image-]std-def-5.7.19-alt1) - -n, --dry-run
- perform a simulation of events that would occur but do not actually change the system
- -d, --download-only
- download packages but don't install
- -h, --help
- show this text and exit
Run remove-old-kernels to uninstall unused kernels.
EXAMPLES
- Download and install the latest un-def kernel:
- update-kernel -t un-def
- Download and install a specific kernel version (Note: it should exist in
- the repository): update-kernel -r 5.15.70-un-def-alt1
EXIT STATUS
update-kernel returns a zero exit status if it succeeds. Non-zero is returned in case of failure.
AUTHOR
Man page by Anton Shevtsov (shevtsov.anton (at) gmail.com)
SEE ALSO
apt-get(8)
| May 15, 2023 | update-kernel 8 |
