魏长东

weichangdong

Mac下卸载编译安装的lua

本来可以brew install lua的,但是装的是5.2版本的,所以卸载了,自己安装了一个5.14的。

最后发现,卸载之后,luarocks也跟着没了,就想着重新 用brew安装。

下面是卸载方法,就是吧安装生成的文件都给删了去。

/usr/local/bin/lua
/usr/local/bin/luac
/usr/local/include/lua.h
/usr/local/include/lua.hpp
/usr/local/include/luaconf.h
/usr/local/include/lualib.h
/usr/local/lib/liblua.a
/usr/local/lib/lua
/usr/local/lib/lua/5.1
/usr/local/share/lua
/usr/local/share/lua/5.1
/usr/local/man/man1/lua.1
/usr/local/man/man1/luac.1