lua-users home
lua-l archive

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


On Sun, May 11, 2008 at 09:58:08PM +0800, Pete Kay wrote:
> Hi,
> 
> I think the lua is still 5.1.3 and that may be the reason why the luasql I
> installed with apt-get does not work:
> 
> ser:/usr/src# lua
> Lua 5.1.3  Copyright (C) 1994-2008 Lua.org, PUC-Rio
> >
> ser:/usr/src# which lua
> /usr/local/bin/lua
> 
> 
> The linux is a stable release so I think I will stick to the debian version
> and upgrade to Lenny later on.  For now, as long as I can get luasql
> running, it is sufficient to get me started.
> 
> Any idea on how I can remove the previously installed lua 5.1.3?

IIRC there is no uninstall target in the lua Makefile, you thus have to
remove it by hand. type su to became root and then do something like
that (but be careful, you are root not): 
  rm /usr/loca/bin/lua*
  rm /usr/local/lib/liblua* 
  rm /usr/loca/include/lua* 

Cheers
-- 
Enrico Tassi