haxelib command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
haxelib: command not found
or when using sudo you get the following error message
sudo: haxelib: command not found
Solutions to haxelib: command not found
How To Fix haxelib: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu haxelib is provided by haxe package.
haxe is:
Haxe is an open source toolkit based on a modern, high level, strictly typed programming language, a cross-compiler, a complete cross-platform standard library and ways to access each platform’s native capabilities.
To fix this problem, we can install more using the command below.
sudo apt-get -y install haxe
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install haxe.
sudo apt -y install haxe
Or if you have aptitude installed you can use the following command.
sudo aptitude install haxe
Summary
In this tutorial we learn how to fix haxelib command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.