lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2015-01-02 18:28 GMT+02:00 Ulrich Schmidt <u.sch.zw@gmx.de>:

> I did not try to do a "make install" caused by the fact, i linked
> /usr/bin/juajit* to /usr/bin/lua.
> What do you think about installing lua as /usr/bin/lua53 and creating a
> symlink /usr/bin/lua (if not exist) ?

It is not usual for an appllication to create symlinks. More typically,
the distribution does that.

"make install" by default puts the executable in /usr/local/bin.
On default Ubuntu systems, this comes in $PATH before /usr/bin
but after $HOME/bin.

So you can customize your installation by going to the directory
into which you extracted Lua 5.3 and symlinking $PWD/src/lua to
$HOME/bin/lua53. I prefer doing the LuaJIT symlink that way too.
Custom symlinks in /usr/bin are not recommended.