Manual Installation and SVN (pre 3.0)

You are viewing an old version of this entry, click here to see latest version.

Manual Install


Windows user can refer to a more detailed version at Getting Started on Windows.

1. Download and extract one of the below:

2. Download and extract the Neko binaries from NekoVM website

3. Set environment variables:

  • HAXE_LIBRARY_PATH to the absolute path of the std folder of Haxe. eg. D:\haxe-2.10-win\std:. (the ' :. ' part is important)
  • HAXEPATH to the absolute path of the extracted folder of Haxe. eg. D:\haxe-2.10-win
  • NEKOPATH to the absolute path of the extracted folder of Neko. eg. D:\neko-1.8.2-win
  • Add %HAXEPATH%;%NEKOPATH%; to the PATH environment variable of your operating system.

To check if the haxe executable can be found, open Command Prompt (Terminal) and enter

haxe
It should print out the info of Haxe:
Haxe Compiler 2.10 - (c)2005-2012 Motion-Twin
 Usage : haxe.exe -main <class> [-swf|-js|-neko|-php|-cpp|-cs|-java|-as3] <output> [options]
 Options :
-cp <path> : add a directory to find source files
(The rest of the options are omitted for brevity.)

Building from source

SVN Builds

If you want to enjoy Haxe's freshly added features and bug fixes, you can download the newest builds for each platform (offered by haxe users).
New builds are immediately available for download after each svn commit (unless the frequency info below states otherwise).

  • Instructions for installing a nightly build:
    • Download the latest build (zip or tar) from one of the servers listed below.
    • Navigate to the directory where you previously installed haxe with the automatic installer
    • Replace the haxe executable and the std folder with the ones from the zip or tar.
  • Available servers:
  • Official Builds
    - automated: yes
    - frequency: every revision
    - executable shows revision nr: no
    - contact: Cauê
    Please check the date to ensure that the build for your OS is up-to-date. You can use the automatic nightly builds installer neko tool from here. See this thread for more info on the tool. Run "neko nb" in order to see a list of options, and "sudo neko nb -install" to install the newest revision. Please note that was tested on OSX only and had no confirmation for other platforms yet.
  • Mac - 32bit
    - automated: no
    - frequency: couple of times a week.( last - Sunday Evening revision 5157 )
    - For Leopard, Snowy, Lion
    - executable shows revision nr: yes
    - contact: Justin L Mills
  • ppa
    - automated: unknown
    - frequency: unknown
    - executable shows revision nr: no
    - contact: Kevin W.

Packages

APT repository


Detailed installation for Ubuntu :
  • Apt-Get
    sudo apt-get install haxe 

AUR (ArchLinux User Repository)

version #15150, modified 2012-07-22 22:30:19 by JLM