Great day guys,I am trying to install the Lua on ubuntu.Inorder to set the environmental variables for Lua how can i procede?Thanks in advance


Move on to your home directory and then edit the .profile file. Edit your .profile file with a command like gedit ~/.profile. Append the following to the end of the file:

**export LUA_DIR=/usr/local/lib/lua/5.1**

To apply the right changes you can source .profile.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.