0

I downloaded the .tar file for VLC media player from its website. The downloaded version supports Ubuntu 18.04. I followed instructions, but I didn't succeed in installing it. After entering ./configure in the terminal I got this error message:

configure: error: Could not find lua. 
Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts. 
Use --disable-lua to ignore this error.
karel
  • 114,770

1 Answers1

1

The error message in your question says to add the --disable-lua option to the ./configure command to ignore the error message like this:

./configure --disable-lua  

./configure --help will show you all options for that particular configure script.

Alternatively you can install the lua5.2 package and run ./configure without any options. This package contains the Lua command line interpreter and bytecode compiler. Install it if you are developing or using Lua scripts.

sudo apt install lua5.2  

If you would accept an Ubuntu Software alternative to compiling VLC that you downloaded from its website, you have a choice between the vlc 3.0 apt package (sudo apt install vlc) or the vlc 4.0 edge channel snap package (sudo snap install vlc --channel edge).

karel
  • 114,770