wget http://luajit.org/download/LuaJIT-2.0.5.tar.gz
tar xzvf LuaJIT-2.0.5.tar.gz
cd LuaJIT-2.0.5
mkdir ~/luajit2
make prefix=/home/wang/luajit2
sudo make install
luajit -v
#Successfully
LuaJIT 2.0.5 -- Copyright (C) 2005-2017 Mike Pall. http://luajit.org/
来源:CSDN
作者:明珠师兄
链接:https://blog.csdn.net/qq_21489189/article/details/103463343