nvidia-persistenced command not found

In this troubleshooting guide we learn how to fix nvidia-persistenced command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

nvidia-persistenced: command not found

or when using sudo you get the following error message

sudo: nvidia-persistenced: command not found

Solutions to nvidia-persistenced: command not found

How To Fix nvidia-persistenced: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu nvidia-persistenced is provided by nvidia-compute-utils-418-server package.

nvidia-compute-utils-418-server is:

This package provides utility binaries for paraller general purpose computing use cases with the NVIDIA Server Driver.

CUDA MPS is a feature that allows multiple CUDA processes to share a single GPU context. CUDA MPS should be transparent to CUDA programs.

CUDA MPS requires a device that supports Unified Virtual Address (UVA) and has compute capability SM 3.5 or higher. Pre-CUDA 4.0 APIs are not supported under CUDA MPS.

To fix this problem, we can install more using the command below.

sudo apt-get -y install nvidia-compute-utils-418-server

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install nvidia-compute-utils-418-server.

sudo apt -y install nvidia-compute-utils-418-server

Or if you have aptitude installed you can use the following command.

sudo aptitude install nvidia-compute-utils-418-server

Summary

In this tutorial we learn how to fix nvidia-persistenced command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.