genpat command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
genpat: command not found
or when using sudo you get the following error message
sudo: genpat: command not found
Solutions to genpat: command not found
How To Fix genpat: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu genpat is provided by nsis package.
nsis is:
NSIS is a tool for creating quick and user friendly installers for Microsoft Windows (Win32) operating systems.
NSIS creates installers that are capable of installing, uninstalling, setting system settings, extracting files, etc. Because it’s based on script files, you can fully control every part of your installers. The script language supports variables, functions, string manipulation, just like a normal programming language - but designed for the creation of installers. Even with all these features, NSIS is still the smallest installer system available.
To fix this problem, we can install more using the command below.
sudo apt-get -y install nsis
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install nsis.
sudo apt -y install nsis
Or if you have aptitude installed you can use the following command.
sudo aptitude install nsis
Summary
In this tutorial we learn how to fix genpat command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.