winpr-makecert command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
winpr-makecert: command not found
or when using sudo you get the following error message
sudo: winpr-makecert: command not found
Solutions to winpr-makecert: command not found
How To Fix winpr-makecert: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu winpr-makecert is provided by winpr-utils package.
winpr-utils is:
WinPR is a spin-off project of FreeRDP which aims at providing a portable implementation of important portions of the Windows API. Just like FreeRDP, WinPR is released under the Apache license. Unlike Wine, WinPR does not provide binary compatibility, and does not require applications to be built for Windows. Instead, WinPR provides API compatibility for applications targeting non-Windows environments. When on Windows, the original native API is being used instead of the equivalent WinPR implementation, without having to modify the code using it.
This package contains WinPR command line utils (winpr-hash, winpr-makecert).
To fix this problem, we can install more using the command below.
sudo apt-get -y install winpr-utils
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install winpr-utils.
sudo apt -y install winpr-utils
Or if you have aptitude installed you can use the following command.
sudo aptitude install winpr-utils
Summary
In this tutorial we learn how to fix winpr-makecert command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.