So I was following a guide on how to install Nvidia drivers with Optimus on my laptop, but the “sudo pacman -S nvidia-installer” doesn’t work it just returns “target not found” I’m not sure as to why it isn’t in the repos it seems, I have tried doing “sudo pacman -Syu” and “sudo pacman -Syyu” but It didn’t help, [Guide] Install Nvidia hybride graphics with Optimus and Vulkan support
I’ve checked if the “nvidia-installer” is already installed on the system and it isn’t.
How did you install your OS? WIth the official EndeavouOS ISO?
It sounds like your /etc/pacman.conf file does not have the EndeavourOS repositories enabled. The EndeavourOS repositories are different from the Arch Linux repositories. nividia-installer-dkms is in the EndeavourOS repos, not the Arch Repos. The /etc/pacman.conf file should have a section as here
[endeavouros]
SigLevel = PackageRequired
Include = /etc/pacman.d/endeavouros-mirrorlist
And the config file /etc/pacman.d/endeavouros-mirrorlist should exist.
Since @manuel and @joekamprad are making massive changes, I am not sure where the actual package is stored anymore. But it is definitely not an Arch package nor in the AUR.
@Kamey
The nvidia-installer is no longer in the repo and it’s recommended to use the nvidia-installer-dkms version. There are some changes going on and we may update the wiki page to reflect same.
Perhaps this helps, -Ss is for searching, it will tell you what repo the packages are in as well:
$ pacman -Ss nvidia-installer
endeavouros/nvidia-installer-db 2.4.24-1
Database for the script to setup nvidia drivers in EndeavourOS
endeavouros/nvidia-installer-dkms 3.3.9-1
Script to setup nvidia drivers (dkms version) in EndeavourOS