Last active
January 1, 2016 22:39
-
-
Save notmii/8211765 to your computer and use it in GitHub Desktop.
Install lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get remove --purge lua | |
sudo apt-get install --yes checkinstall auto-apt curl | |
sudo apt-get install --yes libreadline6-dev | |
curl -R -O http://www.lua.org/ftp/lua-5.2.3.tar.gz | |
tar zxf lua-5.2.3.tar.gz | |
cd lua-5.2.3 | |
sudo make linux test \ | |
&& sudo checkinstall | |
cd .. && rm lua-5.2.3 lua-5.2.3.tar.gz -rf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment