scpr command not found

In this troubleshooting guide we learn how to fix scpr command not found error message

Introduction

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

scpr: command not found

or when using sudo you get the following error message

sudo: scpr: command not found

Solutions to scpr: command not found

How To Fix scpr: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu scpr is provided by libsc-dev package.

libsc-dev is:

The Scientific Computing toolkit (SC) provides C++ class libraries for scientific computation. Included are classes for managing memory, saving and restoring the state of objects, reading objects from an input file, parallel communication, matrix algebra, among others.

Class libraries supporting quantum chemistry applications are provided with this distribution of SC.

This package includes the static libraries and header files.

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

sudo apt-get -y install libsc-dev

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

You can also use apt command to install libsc-dev.

sudo apt -y install libsc-dev

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

sudo aptitude install libsc-dev

Summary

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