本篇內(nèi)容介紹了“Lua的luarocks怎么安裝”的有關(guān)知識(shí),在實(shí)際案例的操作過(guò)程中,不少人都會(huì)遇到這樣的困境,接下來(lái)就讓小編帶領(lǐng)大家學(xué)習(xí)一下如何處理這些情況吧!希望大家仔細(xì)閱讀,能夠?qū)W有所成!
站在用戶(hù)的角度思考問(wèn)題,與客戶(hù)深入溝通,找到河池網(wǎng)站設(shè)計(jì)與河池網(wǎng)站推廣的解決方案,憑借多年的經(jīng)驗(yàn),讓設(shè)計(jì)與互聯(lián)網(wǎng)技術(shù)結(jié)合,創(chuàng)造個(gè)性化、用戶(hù)體驗(yàn)好的作品,建站類(lèi)型包括:成都網(wǎng)站設(shè)計(jì)、成都網(wǎng)站建設(shè)、企業(yè)官網(wǎng)、英文網(wǎng)站、手機(jī)端網(wǎng)站、網(wǎng)站推廣、申請(qǐng)域名、虛擬空間、企業(yè)郵箱。業(yè)務(wù)覆蓋河池地區(qū)。
LuaRocks是lua模塊管理工具,官方網(wǎng)站:https://luarocks.org/
Unix 系統(tǒng)安裝
$ wget https://luarocks.org/releases/luarocks-3.3.1.tar.gz$ tar zxpf luarocks-3.3.1.tar.gz$ cd luarocks-3.3.1$ ./configure && make && sudo make install$ sudo luarocks install luasocket$ luaLua 5.3.5 Copyright (C) 1994-2018 Lua.org, PUC-Rio> require "socket"
mac os 安裝方式
$ brew install luarocks==> Downloading https://mirrors.aliyun.com/homebrew/homebrew-bottles/bottles/luarocks-3.4.0.catalina.bottle.tar.gz######################################################################## 100.0%==> Pouring luarocks-3.4.0.catalina.bottle.tar.gz==> CaveatsLuaRocks supports multiple versions of Lua. By default it is configuredto use Lua5.3, but you can require it to use another version at runtimewith the `--lua-dir` flag, like this: luarocks --lua-dir=/usr/local/opt/lua@5.1 install say==> Summary???? /usr/local/Cellar/luarocks/3.4.0: 104 files, 704.5KB
“Lua的luarocks怎么安裝”的內(nèi)容就介紹到這里了,感謝大家的閱讀。如果想了解更多行業(yè)相關(guān)的知識(shí)可以關(guān)注創(chuàng)新互聯(lián)網(wǎng)站,小編將為大家輸出更多高質(zhì)量的實(shí)用文章!
文章題目:Lua的luarocks怎么安裝
URL標(biāo)題:http://chinadenli.net/article46/gjsieg.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供App設(shè)計(jì)、網(wǎng)站設(shè)計(jì)公司、品牌網(wǎng)站設(shè)計(jì)、動(dòng)態(tài)網(wǎng)站、微信小程序、面包屑導(dǎo)航
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶(hù)投稿、用戶(hù)轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀(guān)點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話(huà):028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)