今晚看Io,然后要安装解释器,然后就记录下来了。。。
首先去官网下载 http://iolanguage.com 在页面下方的binaries那里找到自己系统对应的版本,我的是x64deb的,本来是下载x64rpm的,,安装出了点问题,我就直接下载deb版的了。
下好后,用 unzip iobin-linux-x64-deb-current.zip解压,注意自己的版本,然后按下面的命令安装
$ sudo apt-get install build-essential cmake libreadline-dev libssl-dev ncurses-dev libffi-dev zlib1g-dev libpcre3-dev libpng-dev libtiff4-dev libjpeg62-dev python-dev libpng-dev libtiff4-dev libjpeg62-dev libmysqlclient-dev libmemcached-dev libtokyocabinet-dev libsqlite3-dev libdbi0-dev libpq-dev libgmp3-dev libogg-dev libvorbis-dev libtaglib-cil-dev libtag1-dev libtheora-dev libsamplerate0-dev libloudmouth1-dev libsndfile1-dev libflac-dev libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev libxmu-dev libxi-dev libxml2-dev libyajl-dev uuid-dev liblzo2-dev zlib1g-dev libevent-dev
$ sudo dpkg -i IoLanugage-xxxx-Linux-platform.deb
$ sudo ldconfig
然后直接在终端输入 io检查一下,显示 >IO 的话就安装好了