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
0 answers
17 views

problem install pulseaudio lib via luarocks

I'm having some problems installing pulseaudio Lua lib using Luarocks. When I execute command: sudo luarocks install pulseaudio I get the following output: pulseaudio 0.2-1 depends on lua >= 5.1 (...
user avatar
0 votes
1 answer
138 views

How to install lua5.3 in Ubuntu 18.04?

I have started learning lua programming and have installed lua using below commands sudo apt install lua5.3 liblua5.3-dev but when I do $ lua I get this warning Command 'lua' not found, but can be ...
user avatar
  • 2,767
2 votes
1 answer
99 views

wxLua caused collect2: error: ld returned 1 exit status

I try to get zerobrane studio running. Unfortunately, I missing wxLua. Therefore, I did the following steps: $ sudo apt install libwxgtk3.0-dev cmake libwxgtk-media3.0-gtk3-dev libwxgtk-media3.0-dev ...
user avatar
0 votes
1 answer
3k 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 ...
user avatar
  • 117
1 vote
1 answer
1k 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
user avatar
  • 11
2 votes
1 answer
3k 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 ...
user avatar
  • 371
4 votes
1 answer
2k 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 ...
user avatar
  • 1,134
1 vote
0 answers
621 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 ...
user avatar
  • 359
1 vote
1 answer
6k 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 ...
user avatar
  • 21
4 votes
0 answers
2k 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 ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
  • 11
11 votes
2 answers
10k 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/...
user avatar
1 vote
2 answers
391 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-...
user avatar
1 vote
1 answer
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: ...
user avatar
  • 2,716
0 votes
2 answers
756 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: ...
user avatar
2 votes
0 answers
566 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: ...
user avatar
2 votes
1 answer
4k 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)
user avatar
4 votes
1 answer
1k 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', ...
user avatar
  • 480
1 vote
3 answers
6k 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 ...
user avatar
  • 153
0 votes
2 answers
855 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....
user avatar
  • 153
0 votes
1 answer
694 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/...
user avatar
  • 135
1 vote
2 answers
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/...
user avatar
2 votes
0 answers
2k 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 ...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
1 vote
1 answer
1k 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
user avatar
  • 121
16 votes
5 answers
65k 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 ...
user avatar
2 votes
1 answer
1k 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: ...
user avatar
  • 135
7 votes
1 answer
12k 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{...
user avatar
  • 2,243
0 votes
2 answers
582 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 ...
user avatar
  • 2,875
5 votes
3 answers
3k 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 ...
user avatar
2 votes
1 answer
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 ...
user avatar
  • 33
4 votes
1 answer
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 = {...
user avatar
  • 141
4 votes
2 answers
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 ...
user avatar
  • 3,032
7 votes
2 answers
7k 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 ...
user avatar
  • 731
0 votes
2 answers
991 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 ...
user avatar
  • 7,871