- Por André Guelfi Torres
- ·
- Publicado 16 Apr 2019
Since I'm new to Ubuntu and I had a hard time installing Io language, I've decided to record my steps. Hopefully I'll remember all of them and other people won't struggle as much as I did. I'm running Ubuntu 11.10.
The main problem I had was that I did not have all the dependencies needed to install Io and the installation was failing. The dependencies are yajl and libevent
If you've got then installed, you can skip the next steps.
NOTE: You will need to have cmake and make. You can install them running the following commands from the terminal:
Download yajl from here: https://github.com/lloyd/yajl/downloads
Extract it into a folder.
Open the terminal and go to the folder you extracted yajl
Run the following commands
For more information, please check:
https://github.com/lloyd/yajl/blob/master/BUILDING
Download libevent from here: http://libevent.org/
Extract it into a folder
Open the terminal and go to the folder you extracted libevent
Run the following commands
For more information please check: http://libevent.org/ Also check the README file inside the .tar.gz for your version
You can go to the Io language website and download the language or click here to go start downloading it. As there is no Ubuntu package for that, you will be downloading the Io's source code. This will point to Steve Dekorte's version. I ended up downloading Jeremy Tregunna's version. It should work the same. Check each one is the most up-to-date.
Download the Io version here: https://github.com/jeremytregunna/io/zipball/master
Extract it into a folder.
Open the terminal and go to the folder you extracted Io
Run the following commands:
IMPORTANT: When running cmake ..
, you may get a few errors. Even then, try to run sudo make install
. Some libraries may fail to compile because they are OS specific.
For mode information please check:
http://iolanguage.com/ https://github.com/stevedekorte/io https://github.com/jeremytregunna/io
Now we just need to update ld.so.conf so Io can be accessed from anywhere in your computer.
sudo gedit /etc/ld.so.conf
include /usr/local/lib
sudo ldconfig
That's it. Hopefully now you will be able to open a terminal window and type: io
You should see the Io runtime environment: Io> _
Software es nuestra pasión.
Somos Software Craftspeople. Construimos software bien elaborado para nuestros clientes, ayudamos a los/as desarrolladores/as a mejorar en su oficio a través de la formación, la orientación y la tutoría. Ayudamos a las empresas a mejorar en la distribución de software.