plasma-prime-select command not found

In this troubleshooting guide we learn how to fix plasma-prime-select command not found error message

Introduction

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

plasma-prime-select: command not found

or when using sudo you get the following error message

sudo: plasma-prime-select: command not found

Solutions to plasma-prime-select: command not found

How To Fix plasma-prime-select: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu plasma-prime-select is provided by plasma-optimus package.

plasma-optimus is:

NVIDIA© Optimus(TM) technology intelligently optimizes your notebook PC, providing the outstanding graphics performance you need, when you need it, all the while extending battery life for longer enjoyment.

This plasmoid provides means to display the active GPU and lets you switch between the Intel and Nvidia GPUs on NVIDIA Optimus equipped computers. It also opens a dialog box that shows processes currently using your Nvidia GPU.

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

sudo apt-get -y install plasma-optimus

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

You can also use apt command to install plasma-optimus.

sudo apt -y install plasma-optimus

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

sudo aptitude install plasma-optimus

Summary

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