nvidia-modprobe command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
nvidia-modprobe: command not found
or when using sudo you get the following error message
sudo: nvidia-modprobe: command not found
Solutions to nvidia-modprobe: command not found
How To Fix nvidia-modprobe: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu nvidia-modprobe is provided by nvidia-modprobe package.
nvidia-modprobe is:
This setuid program is used to create NVIDIA Linux device files and load the NVIDIA kernel module, on behalf of NVIDIA Linux driver components which may not have sufficient privileges to perform these actions on their own.
To fix this problem, we can install more using the command below.
sudo apt-get -y install nvidia-modprobe
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install nvidia-modprobe.
sudo apt -y install nvidia-modprobe
Or if you have aptitude installed you can use the following command.
sudo aptitude install nvidia-modprobe
Summary
In this tutorial we learn how to fix nvidia-modprobe command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.