SCMPrint command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
SCMPrint: command not found
or when using sudo you get the following error message
sudo: SCMPrint: command not found
Solutions to SCMPrint: command not found
How To Fix SCMPrint: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu SCMPrint is provided by libxerces-c-samples package.
libxerces-c-samples is:
Xerces-C++ is a validating XML parser written in a portable subset of C++. This package contains compiled versions of the samples. You probably don’t want this package, but it can be useful if you are trying to reproduce a problem before reporting a bug that will be easy for the xerces developers to reproduce.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libxerces-c-samples
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libxerces-c-samples.
sudo apt -y install libxerces-c-samples
Or if you have aptitude installed you can use the following command.
sudo aptitude install libxerces-c-samples
Summary
In this tutorial we learn how to fix SCMPrint command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.