-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlua.html
More file actions
62 lines (54 loc) · 2.94 KB
/
Copy pathlua.html
File metadata and controls
62 lines (54 loc) · 2.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Site Properities -->
<title>Lua | Learn Learnin'</title>
<meta property="og:title" content="Lua | Learn Learnin'" />
<meta property="og:description" name="description" content="The wonderful scripting language" />
<meta property="og:url" content="http://learnlearn.in/lua/" />
<meta name="keywords" content="learn, learning, lua, luarocks, install" />
<meta name="generator" content="DocPad v6.78.6" />
<link rel="shortcut icon" type="image/png" href="/LofL.png" />
<link rel="apple-touch-icon" type="image/png" href="/LofL128.png" />
<link rel="stylesheet" href="/main.css" />
<link href="//asd.learnlearn.in/feed.atom" type="application/atom+xml" rel="alternate" title="Sitewide ATOM Feed" />
</head>
<body>
<header>
<a href="/" title="Go home"><img src="/LofL60.png" alt="~" title="~"></a>
<a href=""><h1>Lua </h1></a>
</header>
<article role="main">
<p>Lua is best used with luarocks.</p>
<p>When you install modules (say luasocket) you can do</p>
<pre><code>luarocks --local install luasocket
</code></pre><p>To make these available for scripts, all you need to do is add</p>
<pre><code>eval `luarocks path`
</code></pre><p>to your .bashrc or .zshrc. Credit: <a href="http://colberg.org/lua-mpi/INSTALL.html">Installing MPI for Lua</a></p>
</article>
<aside class="share separator separatorpipe" role="complementary">
Share this »
<a target="_blank" href="http://sharetodiaspora.github.io/?title=Lua | Learn Learnin'&url=http://learnlearn.in/lua/">diaspora*</a>
<a target="_blank" href="http://www.facebook.com/sharer/sharer.php?u=http://learnlearn.in/lua/">Facebook</a>
<a target="_blank" href="https://twitter.com/intent/tweet?url=http://learnlearn.in/lua/">Twitter</a>
<a target="_blank" href="https://plus.google.com/share?url=http://learnlearn.in/lua/">Google+</a>
<a target="_blank" href="mailto:?subject=Lua | Learn Learnin'&body=Check this out: http://learnlearn.in/lua/">Email</a>
<a target="_blank" href="https://telegram.me/share/url?url=Lua | Learn Learnin' - &url=http://learnlearn.in/lua/"> Telegram</a>
<a class="mobileshare" href="whatsapp://send?text=Lua | Learn Learnin' - http://learnlearn.in/lua/">Whatsapp</a>
</aside>
<footer id="footer" class="separator separatorpipe">
<a href="/keep-in-touch/#comments">Comment</a>
<a href="/about/">About</a>
<a href="/"> Home</a>
<a href="http://asd.learnlearn.in">Follow ASD</a>
<br>
<form id="ducksearch" name="ducksearch" action="https://duckduckgo.com/" target="_top">
<input type="search" class="search-bar" autocomplete="off" name="q" id="searchinput" placeholder="Search this site" value=" site:learnlearn.in "/>
<input id="search_button_homepage" type="submit" value="Duck!"/>
</form>
</footer>
<script defer="defer" src="/main.js"></script>
</body>
</html>