How to install LTS kernel. Do I need to reinstall Nvidia Drivers after changing kernel?

I’m new to Arch based distros, I installed Endeavour OS(KDE) a week ago with the default(Non-LTS) kernel, but on forums people are suggesting to use LTS kernel, my laptop is old and I also don’t want to update the kernel daily as my internet plan is limited.

Can anyone guide me how to install and switch to LTS kernel ? and
Do I need to reinstall nvidia drivers after switching to LTS kernel ?

Endeavour OS made me stop distro-hopping and I wanna stay on it for a long time… <3

It depends which nvidia drivers you have installed.

Can you share the output of the command

pacman -Q | grep nvidia

Also, welcome to the forum!


pacman -Q | grep nvidia

nvidia-dkms 470.74-1
nvidia-installer-db 2.4.25-1
nvidia-installer-dkms 3.3.9-1
nvidia-settings 470.74-1
nvidia-utils 470.74-1

You are using the dkms drivers which work with multiple kernels so you should be able to install the lts kernel with:

sudo pacman -S linux-lts linux-lts-headers

this will install the lts-kernel, then how can I switch on lts-kernel ?
and can i directly remove the non-lts kernel by pacman -R linux linux-headers ?

When you reboot you can choose it from the menu

Yes, but first reboot onto the LTS kernel.

1 Like

I believe you will also need to update grub*

Otherwise that’s it.


got it

I booted on lts kernel but now I’m trying to remove non-lts kernel but dep. error came :-

sudo pacman -R linux linux-headers

checking dependencies…
error: failed to prepare transaction (could not satisfy dependencies)
:: removing linux breaks dependency ‘linux’ required by r8168

I would just leave it installed. No harm having another kernel option for login as backup.

Also for r8168 check if you already have DKMS, which you can install also or I just use LTS, otherwise might be no ethernet connectivity on login.

aur/r8168-dkms 8.049.02-1 (+17 1.16) 
    A kernel module for Realtek 8168 network cards (DKMS version)
community/r8168-lts 8.049.02-20 (709.7 KiB 707.2 KiB) (Installed)
    A kernel module for Realtek 8168 network cards for linux-lts
community/r8168 8.049.02-23 (69.9 KiB 67.5 KiB) (Installed)
    A kernel module for Realtek 8168 network cards


sudo pacman -Rc linux linux-headers

If you are not short of disk space, I would leave the linux kernel as is.
But you could check if you really need the r8168 driver. For example, run command lspci -vnn and see what kernel driver is in use for the Ethernet controller.


If you definitely don’t want the latest kernel but still want a backup kernel, then linux-lts54 is a good option.

As manuel says, having a second/alternative kernel installed can be very useful.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.