Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

2016-04-14

2016-04-14 Thursday - Building Lua on Ubuntu

While trying to build Lua...
https://www.lua.org/download.html
curl -R -O http://www.lua.org/ftp/lua-5.3.2.tar.gz
tar zxf lua-5.3.2.tar.gz
cd lua-5.3.2
make linux test

I encountered the following error:
fatal error: readline/readline.h: No such file or directory

All that I needed to do was:  
sudo apt-get install libreadline-dev 
 
This blog post is also worth reviewing, as it illustrates how to find the various 
version of readline
(i.g. "apt-cache search readline")
 
Note the distinction between the lib version for running an application, versus 
for developing applications.
 
 

2016-04-09

2016-04-09 Saturday - Installing Go 1.6 on Ubuntu


How to Uninstall golang-go on Ubuntu
http://installion.co.uk/ubuntu/vivid/universe/g/golang-go/uninstall/index.html
  • sudo apt-get remove --auto-remove golang-go

How To Install Go 1.6 on Ubuntu 14.04
https://www.digitalocean.com/community/tutorials/how-to-install-go-1-6-on-ubuntu-14-04

  • sudo apt-get update
  • sudo apt-get -y upgrade
  • sudo curl -O https://storage.googleapis.com/golang/go1.6.linux-amd64.tar.gz
  • sudo tar -xvf go1.6.linux-amd64.tar.gz
  • sudo mv go /usr/local
  • export PATH=$PATH:/usr/local/go/bin
     

WordCount

Copyright

© 2001-2026 International Technology Ventures, Inc., All Rights Reserved.