msencrypt command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
msencrypt: command not found
or when using sudo you get the following error message
sudo: msencrypt: command not found
Solutions to msencrypt: command not found
How To Fix msencrypt: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu msencrypt is provided by mapserver-bin package.
mapserver-bin is:
This package provides command-line utilities for MapServer.
MapServer is a CGI-based framework for Internet map services which supports Open Geospatial Consortium (OGC) standards. Scripting functionality in MapScript is provided by the suggested mapscript library packages.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mapserver-bin
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mapserver-bin.
sudo apt -y install mapserver-bin
Or if you have aptitude installed you can use the following command.
sudo aptitude install mapserver-bin
Summary
In this tutorial we learn how to fix msencrypt command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.