Binary Downloads
Sorry, binaries are currently not available. For now please install from source.
Building from source
WARNING: LuaDist is still in development and may not be in working condition when checking out from development repositories.
Obtaining source
Lates development snapshots can be obtained on github.
Unix, OSX, Linux, Cygwin ...
On most Unix based systems a C compiler, make and CMake need to be installed. For Debian based Linux distribution this means to install gcc, make and cmake packages.
Building LuaDist is simple using the provided build script. Simply extract the sources and run:
./build -DCMAKE_BUILD_TYPE=Release
Once LuaDist is built it will be installed into _install subdirectory. In order to use LuaDist without installation into your system and root privileges a simple environment setup script called dist is provided. Using the dist script we can now install md5.
cd _install/*
./dist luadist install md5
./dist lua -lmd5 -e "print(md5.sumhexa 'test')"
Windows MinGW (Recommended)
For building LuaDist on systems running Windows we recommend using the MinGW compiler. However most users will find it easier to install MinGW using a installer available from TDM. Next, CMake needs to be installed. Make sure you include it in our environment when the installer asks.
Building LuaDist can now be started using the build.bat script. Simply extract sources and run:
build.bat -DCMAKE_BUILD_TYPE=Release
Once LuaDist is built it will be installed into _install subdirectory. In order to use LuaDist without installation into your system and root privileges a simple environment setup script called dist.bat is provided. Using the dist.bat script we can now install md5.
cd _install\*
dist.bat lua bin\luadist install md5
dist.bat lua -lmd5 -e "print(md5.sumhexa 'test')"
Windows Visual Studio (Experimental)
For this to work you will need to have Visual C++ Express Edition or better. Second download and install CMake and make sure to include it in your environment when the installer asks.
Start up Microsoft Visual C++ Express and do "Tools > Visual Studio Command Prompt" (this is the same as running vcvars32.bat).
Change directory to the extracted/checked-out sources and build using:
build_msvc.bat -DCMAKE_BUILD_TYPE=Release
Once LuaDist is built it will be installed into _install subdirectory.In order to use LuaDist without installation into your system and root privileges a simple environment setup script called dist.bat is provided. Using the dist.bat script we can now install md5.
cd _install\*
dist.bat lua bin\luadist install md5
dist.bat lua -lmd5 -e "print(md5.sumhexa 'test')"
NOTE: In source mode LuaDist needs to be run in the Visual Studio Command Prompt too. Support for MSVC is limited and some dists might not build at all.
Uninstall
LuaDist does not install into the host system and can be therefore uninstalled simply by deleting the containing directory. This also allows you to move and copy LuaDist as needed.