Do i need headers to update to newer kernel?

Here is :

[linux@home ~]$ uname -ar
Linux acer 6.18.26-1-MANJARO #1 SMP PREEMPT_DYNAMIC Thu, 30 Apr 2026 17:30:39 +0000 x86_64 GNU/Linux
[linux@home ~]$ lsb_release
LSB Version: n/a
[linux@home ~]$

Then I have to install linux-current-headers ?

There is no package linux-current-headers.

You can use pamac to search for packages

 $ pamac search linux headers --no-aur
riscv64-linux-gnu-linux-api-headers  6.10-2                          extra
    Kernel headers sanitized for use in userspace (riscv64-linux-gnu)
linux-lts-headers-meta  5.10-1                                        core
    Manjaro LTS kernel header files meta package
linux-headers-meta  7.0-1                                             core
    Manjaro stable kernel header files meta package
linux71-headers  7.1.0rc3-1                                           core
    Headers and scripts for building modules for the Linux 7.1 kernel
linux66-rt-headers  6.6.133_rt73-1                                    core
    Header files and scripts for building modules for Linux66-rt
    kernel
linux66-headers  6.6.138-1                                            core
    Header files and scripts for building modules for Linux66 kernel
linux61-rt-headers  6.1.167_rt62-2                                    core
    Header files and scripts for building modules for Linux61-rt
    kernel
linux61-headers  6.1.172-1                                            core
    Header files and scripts for building modules for Linux61 kernel
linux617-rt-headers  6.17.5_rt7-3                                     core
    Header files and scripts for building modules for Linux617-rt
    kernel
linux612-rt-headers  6.12.79_rt17-2                                   core
    Header files and scripts for building modules for Linux612-rt
    kernel
linux612-headers  6.12.87-1                                           core
    Headers and scripts for building modules for the Linux 6.12 kernel
linux515-headers  5.15.206-1                                          core
    Header files and scripts for building modules for Linux515 kernel
linux510-headers  5.10.255-1                                          core
    Header files and scripts for building modules for Linux510 kernel
aarch64-linux-gnu-linux-api-headers  6.19-3                          extra
    Kernel headers sanitized for use in userspace (aarch64-linux-gnu)
linux-api-headers  6.19-1 [Installed]                                 core
    Kernel headers sanitized for use in userspace
linux70-headers  7.0.5-2 [Installed]                                  core
    Headers and scripts for building modules for the Linux 7.0 kernel
linux618-headers  6.18.28-2 [Installed]                               core
    Headers and scripts for building modules for the Linux 6.18 kernel

There is a matching header package for all kernels e.g. for linux618 package, there is linux618-headers which would be - judging from your active kernel as listed by uname -a output

sudo pacman -Syu linux618-headers

If you want to use lsb_release append the -a

lsb_release -a

Do note that Linux 5.1, Linux 5.10 and Linux 5.15 is planned for removal.

[Unstable Update] May 2026 - #24 by philm

I do strongly advise against trying bleeding edge kernel, since you seem to be inexperienced. 6.18 is long term support kernel - stay there.

P.s. also, English is a foreign language for many of us, but still, please try to ask a question with a whole sentence… There are also translators.
I changed the title so that it is at least remotely connected with the question, if that was the question.

You don’t need the kernel headers package unless you plan on compiling code that requires it. If you’re just upgrading a kernel, just the linux999 package will do. (replace 99 with the kernel version you want. i.e. linux618)

Manjaro Wiki - Manjaro Kernels

GUI Tool

Manjaro Settings Manager offers an easy way to add and remove kernel (including the necessary kernel modules).

New kernels can be installed by pressing the “Install” button. All necessary kernel modules will be installed automatically with a new kernel as well.

Adding New kernels

Manjaro not only supports the use of multiple kernels (selectable from the boot screen), but allows easy access to the very latest bleeding edge kernels as well. This is undertaken through use of Manjaro’s own MHWD-kernel (Manjaro Hard-Ware Detection) command. The syntax of the command is as follows:

sudo mhwd-kernel [-i] [new kernel: linux(version)] [optional - remove the current kernel: rmc]

When listing a new kernel to be installed in the command, it is not necessary to write the entire version number. For example, any version of Kernel 4.19 can be listed simply as linux419, and any version of Kernel 4.14 can be listed as linux414, and so on.

The optional rmc (remove current) component is of vital importance. Using this will result in your existing kernel being deleted upon the installation of the new kernel. Otherwise, if it is not used, then the existing kernel will be kept, and will be selectable alongside the new kernel at the boot screen. It is recommended - especially if updating to the latest bleeding edge kernel - to keep your old one, even if only for a short time afterwards. This the safer option, and the old kernel can be easily removed when satisfied with the stability and functionality of the new one.

2 Likes

you should add headers because ,
they have some constants about wifi , battery and so on

2 Likes