premake4 command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
premake4: command not found
or when using sudo you get the following error message
sudo: premake4: command not found
Solutions to premake4: command not found
How To Fix premake4: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu premake4 is provided by premake4 package.
premake4 is:
Premake allows you to manage your project configuration in one place and still support those pesky IDE-addicted Windows coders and/or cranky Linux command-line junkies. It allows you to generate project files for tools that you do not own. It saves the time that would otherwise be spent manually keeping several different toolsets in sync. And it provides an easy upgrade path as new versions of your favorite tools are released.
To fix this problem, we can install more using the command below.
sudo apt-get -y install premake4
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install premake4.
sudo apt -y install premake4
Or if you have aptitude installed you can use the following command.
sudo aptitude install premake4
Summary
In this tutorial we learn how to fix premake4 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.