先下载lua ,boost c++
http://www.lua.org/versions.html#5.2
http://sourceforge.net/projects/luabind/
1. 安装lua
[root@localhost ~]#tar zxvf lua-5.1.2.tar.gz -C /usr/local
[root@localhost ~]# cd /usr/local/
[root@localhost local]# mv lua-5.1 lua
[root@localhost lua]# cd lua
[root@localhost lua]#make linux;make install;
2. 安装boost库
[root@localhost ~]#cd boost_1_48_0/tools/build/v2
[root@localhost ~]#./bootstrap.sh
[root@localhost ~]#./ b2 install--prefix=/usr/local/
标签:boost,c++,cd,lua,root,local,localhost From: https://blog.51cto.com/u_14934686/5746142