3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Luaをインストールしてみた

Posted at

Luaインストール

あまりにも簡単すぎた・・・。

環境

brew -v 

Homebrew 0.9.5

インストール

brew install lua

Warning: Your Xcode (4.6.2) is outdated
Please update to Xcode 4.6.3.
Xcode can be updated from the App Store.
==> Downloading http://www.lua.org/ftp/lua-5.1.5.tar.gz
######################################################################## 100.0%
==> Downloading patches
######################################################################## 100.0%
==> Patching
patching file Makefile
patching file src/Makefile
patching file src/lua.c
==> make macosx INSTALL_TOP=/usr/local/Cellar/lua/5.1.5 INSTALL_MAN=/usr/local/Cellar/lua/5.1.5/share/man/man1
==> make install INSTALL_TOP=/usr/local/Cellar/lua/5.1.5 INSTALL_MAN=/usr/local/Cellar/lua/5.1.5/share/man/man1
? /usr/local/Cellar/lua/5.1.5: 15 files, 300K, built in 6 seconds

lua

Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio

いつもの Hello World

print("Hello Wolrd!!")

Hello World!

参考サイト

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?