$ luarocks install alien
Alien lets a Lua application call load dynamic libraries and call C functions. Alien is based on libffi. On a GNU/Linux system you should be able to install it with your package manager; it is probably called something like `libffi-dev` (Debian, Ubuntu etc.) or `libffi-devel` (Fedora, CentOS etc.). If your system's package manager does not have libffi, or you don't have a package manager, you can get the source code from http://sources.redhat.com/libffi/
Versions
Dependencies
lua >= 5.1