Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [lua]

Lua is a scripting language with a focus on extensible semantics. This tag is for questions regarding Lua development on Ubuntu.

Filter by
Sorted by
Tagged with
0
votes
1answer
171 views

Unable to locate package libnginx-mod-http-lua

I'm configuring a Ubuntu server on Digital Ocean and facing an issue. I've created a droplet with Ubuntu 16 server OS and installed Nginx. It is working fine! but I want to install LUA module for ...
0
votes
0answers
71 views

How to run as privileged user in ubuntu/ [duplicate]

Error: Your user does not have write permissions in /usr/local/lib/luarocks/rocks -- you may want to run as a privileged user or use your local tree with --local.
1
vote
1answer
86 views

how to compile Lua 5.3.5 shared library?

by default, there is no so file compiled. The default make doesn't support .so how to modify the Makefile to produce a so file? Thanks
1
vote
1answer
259 views

Run script on Awesome WM startup

I'm trying to run a script on Awesome WM start after the login screen (not on the awesome --replace or awesome.restart()). Does anyone knows the way? No matter is it some kind of /etc/rc.* script or ...
0
votes
0answers
154 views

Problem with torch and cuDNN

I am having some troubles trying to run the demo from this git repository https://github.com/geopavlakos/c2f-vol-demo. I downloaded all of the necessary packages: torch, hdf5, cuda, cudnn, matlab. ...
3
votes
1answer
735 views

Integration of Emacs/LuaLaTeX with Evince/Zathura not working in Ubuntu 18.04. How can I fix it?

After my recent upgrade (per new install) to Ubuntu 18.04, I have started having quite some troubles with my tool chain (Emacs, Lualatex, Evince). I am using forward/backward search to approximate ...
1
vote
0answers
468 views

How to install HDF5 version 1.8 on Ubuntu 17.10?

I am working on torch but when I try to run the following command: require 'hdf5' this returns the following error: /home/mobeen/torch/install/share/lua/5.1/hdf5/ffi.lua:71: Unsupported HDF5 ...
-1
votes
1answer
2k views

How to solve this (missing: CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) issue?

I am trying to install Torch using this thread And when I tried run ./install.sh which installs LuaJIT, LuaRocks, and then uses LuaRocks (the Lua package manager) to install core packages like a ...
4
votes
0answers
813 views

conky-all says it's installing cairo but lua can't find cairo anywhere

I've been trying to get conky to work for awhile now, but I can't seem to make it install cairo properly. What I've done: installed conky-all (sudo apt-get install conky-all) Tried to get a theme ...
1
vote
0answers
566 views

What is the correct folder location for a dissector lua as plugin for wireshark?

I have a lua dissector (xxx.lua) which I normally run on windows under C:\Program Files\Wireshark\plugins\2.2.4 I tried to copy this in Ubuntu 14.04 following various recommendations found online ...
10
votes
2answers
7k views

Installing lua5.2 vs. lua5.3 on Ubuntu 16.10

When I install the lua5.2 package on Ubuntu 16.10: sudo apt-get install lua5.2 it installs /usr/bin/lua as a symlink to /etc/alternatives/lua-interpreter, which in turn is a symlink to `/usr/bin/...
1
vote
2answers
223 views

In Conky, how can I calculate the time elapsed since a specific date?

In conky, I would like to display the number of days since a specific date. For this, I would substract the current date from the said specific date. E.g.: If I were to set ImportantDate = 2016-09-...
1
vote
1answer
2k views

Install rocks without reloging after 'apt-get install luarocks'

I'm trying to script an install which needs luarocks and a couple of rocks installed. After: sudo apt-get -y install luarocks But before I relog, If I try: luarocks install loadcaffe I get Error: ...
0
votes
2answers
652 views

Warning on installing CUTORCH about missing dependency files that are there

I am trying to install cuda, torch, cutorch and cudnn on Ubuntu. Cuda and Torch are installed by when I attempt to do luarocks install cutorch. I get a ton of errors. Primarily a stream of this: ...
1
vote
0answers
413 views

texlua installed but not working

I've installed Tex Live 2015 following these instructions. When I try to use the script "getnonfreefonts" from the tug website I get these errors: sudo texlua install-getnonfreefonts sudo: texlua: ...
2
votes
1answer
1k views

How do I make a script add one number to a value each second? (Lua)

I want to know how you would make a script add 1 number each second to a value (Making a spinning loading Gui)
4
votes
1answer
987 views

Error installing gnuplot: undefined reference to `luaL_checkint'

I am making an attempt to install the program gnuplot version 5.0.1 on Ubuntu 14.04. For this, I made the following steps. Steps to install Gnuplot. 1) Run 'sudo apt-get install libreadline-dev', ...
1
vote
3answers
5k views

Luarocks version

I'm new to Linux and am attempting install the newest luarocks version. I'm currently running version 2.0.8 (after running sudo apt-get update) which isn't sufficient for some of my needs. Is there a ...
0
votes
2answers
726 views

Luarocks: 404 Not Found

I'm fairly new to Linux and am having some problems installing luarocks. I keep getting the error E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_3.13.0-27....
0
votes
1answer
583 views

Building openVibe sources [duplicate]

I want to build the openVibe , but the following error appear after running the sell script ./linux_build : FAILED to find GTK+... CMake Error at /usr/share/cmake-2.8/Modules/...
1
vote
2answers
2k views

Problem with apache

I have problem with apache, when I get configure a LAMP then I write: sudo apt-get install apache2 And everything been fun, but next I wrote cd /etc/apache2/mods-available sudo cp * /etc/apache2/...
2
votes
0answers
1k views

Vlc http interface keep asking password

I am trying to control vlc from browser or my android phone. I read wiki vlc. And I believe I did everthing right. Enabled Http interface, set a password. But when I go to localhost:8080 browser asks ...
0
votes
1answer
1k views

mod_lua is missing in 14.04?

Apache is 2.4.7 in the new 14.04 release. Various website and release notes mention that lua via mod_lua became available. There is a lua.load file in /etc/apache2/mods-available, but the ...
1
vote
1answer
899 views

How to set the environmental variables in ubuntu to install lua?

Great day guys,I am trying to install the Lua on ubuntu.Inorder to set the environmental variables for Lua how can i procede?Thanks in advance
16
votes
4answers
60k views

running wireshark “Lua: Error during loading”

By running wireshark in 14.04 I got this error What should I do to solve this? Lua: Error during loading: [string "/usr/share/wireshark/init.lua"]:46: dofile has been disabled due to running ...
2
votes
1answer
953 views

Awesome WM - running lua rc.lua gives an error

I install awesome using sudo apt-get install awesome I copied my rc.lua to ~/.config/awesome and ran lua rc.lua I got the following error: lua: rc.lua:2: module 'awful' not found: ...
4
votes
1answer
9k views

What's wrong with lualatex?

I'm not sure if this is a bug or I've done something wrong (or I simply don't know luatex well enough). This minimal example file test.tex \documentclass{article} \usepackage{luacode} \begin{...
0
votes
2answers
473 views

LOVE2D Graphics are not working

I sudo apt-getted (grammar ftw) LOVE2D Lua API, and when I try to run a game on my machine, it doesn't work at all. When I use a simple love.graphics.print("Hello, World!") I get a blank screen, and I ...
5
votes
3answers
2k views

Cycle through clients on both screens in awesomewm

I am using awesomewm and have two monitors, so Mod4+j and Mod4+k cycle through windows on current screen only. Is there a way to cycle through all windows/clients on all screens to make it work like ...
2
votes
1answer
1k views

Can't install lua on 12.04 on Chrome book

I am currently trying to install lua on my Ubuntu 12.04 on Chrome book and I keep getting this error: I'm doing good learning different programming languages (self taught) and well I wanted to ...
4
votes
1answer
2k views

autostart app with tag in awm

while giving awm a try i encounter some problems. i want to autostart some apps when awm is started with specific tags. here's the relevant config i use for that. first my tags with layouts: tags = {...
3
votes
2answers
1k views

How to get my custom .desktop file into the unity launcher?

I've created a .desktop file like this [Desktop Entry] Categories=Game; Name=Mari0 Exec=love-unstable /opt/Mari0/mari0_1.0.love Icon=/opt/Mari0/icon.gif Type=Application And what i want is to get it ...
7
votes
2answers
6k views

Conky & Ubuntu - music visualization (music bars)?

I started playing with Conky a few days ago and managed to achieve this: (Note: although I've written it from scratch, I got inspired by this photo, credits to the author for their creativity) As ...
0
votes
1answer
912 views

3D game engine scriptable in lua

I searched for 3D game engine scriptable in lua language. I found some where cafu engine is looks good. What is the best and frequently used 3D game engine(lua language) I found a post here for 3D ...