It was disabled at build time. You will need to get a package that has it enabled and install that. There is nothing else you can do locally, unless you build the software yourself.
Thank You All for your help
Problem solved.
apt remove darktable
echo 'deb [http://download.opensuse.org/repositories/graphics:/darktable/xUbuntu_20.04/](http://download.opensuse.org/repositories/graphics:/darktable/xUbuntu_20.04/) /' | sudo tee /etc/apt/sources.list.d/graphics:darktable.list
curl -fsSL [https://download.opensuse.org/repositories/graphics:darktable/xUbuntu_20.04/Release.key](https://download.opensuse.org/repositories/graphics:darktable/xUbuntu_20.04/Release.key) | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/graphics_darktable.gpg > /dev/null
sudo apt update
sudo apt install darktable
Previously was using that repo
deb [http://ppa.launchpad.net/ubuntuhandbook1/darktable/ubuntu](http://ppa.launchpad.net/ubuntuhandbook1/darktable/ubuntu) focal main
The package at this site seem to be compile without LUA
[https://launchpad.net/~ubuntuhandbook1/+archive/ubuntu/darktable](https://launchpad.net/~ubuntuhandbook1/+archive/ubuntu/darktable)
A+
I have the same problem described here (LinuxMint 20.02, Ubuntu 20.04, no LUA in DT after darktable 3.8 installation) and tried to solve it .
If I understand right, the first 5 code lines of @jadupl2 last post should install a DT build with LUA support. Iâm not so familiar with these Linux commands. I have an idea what they are doing but I get an error executing the command below and canât identify the reason.
curl -fsSL https://download.opensuse.org/repositories/graphics:darktable/xUbuntu_20.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/graphics_darktable.gpg > /dev/null
bash: Syntaxfehler beim unerwarteten Wort »(«
means: syntax error at unexpected word >>(<<
What is the difference between these commands above and the commands here at the darktable install page?
You will find the working version (Compile with LUA) at this page
https://software.opensuse.org/download.html?project=graphics:darktable&package=darktable
-
Remove current version
sudo apt remove darktable -
Add the OBS repository
sudo echo âdeb http://download.opensuse.org/repositories/graphics:/darktable/xUbuntu_20.04/ /â | sudo tee /etc/apt/sources.list.d/graphics:darktable.list
sudo curl -fsSL https://download.opensuse.org/repositories/graphics:darktable/xUbuntu_20.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d /graphics_darktable.gpg > /dev/null
- Update Package cache and install new darktable
sudo apt update
sudo apt install darktable
Sorry, it doesnât work for me.
After installation regarding your proposal (I removed the " â " around the deb command in the /etc/apt/sources.list.d/graphics:darktable.list) and
darktable --version
I got still
âŠ
Lua support disabled
âŠ
Hallo Andreas,
The error message doesnât match to the command youâve posted. The error message complains about an unexpected left bracket (Klammer auf) but there is none in the command you posted.
The first command
echo 'deb http://download.opensuse.org/repositories/graphics:/darktable/xUbuntu_20.04/ /' | sudo tee /etc/apt/sources.list.d/graphics:darktable.list
will add a new installation source by creating the file /etc/apt/sources.list.d/graphics:darktable.list
Itâs a âpipelineâ with two parts, the first part just prints the text that we need (echo
is basically a print command for the shell) and after the âpipeâ character |
is the command that redirects this text into a file. Only that part needs the sudo
.
Next we need to install a cryptographic key, so that the package manager can make sure the .deb packages are genuine and havenât been tampered with.
curl -fsSL https://download.opensuse.org/repositories/graphics:darktable/xUbuntu_20.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/graphics_darktable.gpg > /dev/null
This is a âpipelineâ consisting of three parts:
- The curl command downloads the key file,
gpg --dearmor
will convert the keysudo tee /etc/apt/trusted.gpg.d/graphics_darktable.gpg
will save it to the specified file
To make sure that this was successful, you can run these commands:
user@Ubuntu:~ $ cat /etc/apt/sources.list.d/graphics:darktable.list
deb http://download.opensuse.org/repositories/graphics:/darktable/xUbuntu_20.04/ /
user@Ubuntu:~ $ gpg --show-keys /etc/apt/trusted.gpg.d/graphics_darktable.gpg
pub rsa2048 2017-12-26 [SC] [expires: 2022-05-16]
3247B7519EDBEAB422E900A3040524A84C70D8B5
uid graphics:darktable OBS Project <graphics:darktable@build.opensuse.org>
If your output looks the same, you donât need to repeat these steps.
Maybe you have a different darktable version in your $PATH somewhere.
Whatâs the (full) output of these two commands?
$ which darktable
/usr/bin/darktable
$ darktable --version
this is darktable 3.8.0
copyright (c) 2009-2021 johannes hanika
darktable-dev@lists.darktable.org
compile options:
bit depth is 64 bit
normal build
SSE2 optimized codepath enabled
OpenMP support enabled
OpenCL support enabled
Lua support enabled, API version 8.0.0
Colord support enabled
gPhoto2 support enabled
GraphicsMagick support enabled
ImageMagick support disabled
OpenEXR support enabled
Oliver
Click on this link âhttps://software.opensuse.org/download.html?project=graphics:darktable&package=darktableâ
Click on the Ubuntu icon
Click âAdd repository and install manuallyâ and you will see the command to execute.
This is what I did and it worked
A+
Hello Oliver @revilo ,
thank you for your comprehensive explanation. Helps me to understand much more. I read it carefully and did what you suggested.
But unfortunately it doesnât work with Lua support.
I tried it several times. Also the recommendations from Jacques @jadupl2 a tried several times over the last days.
I would like to show you what I did with the commands an the regarding output. Maybe I do still something wrong or you can find hints in the output.
as@KaLM:~$ which darktable
DT not installed, no output. OK!
as@KaLM:~$ cat /etc/apt/sources.list.d/graphics:darktable.list
deb http://download.opensuse.org/repositories/graphics:/darktable/xUbuntu_20.04/ /
as@KaLM:~$ gpg --show-keys /etc/apt/trusted.gpg.d/graphics_darktable.gpg
pub rsa2048 2017-12-26 [SC] [verfÀllt: 2022-05-16]
3247B7519EDBEAB422E900A3040524A84C70D8B5
uid graphics:darktable OBS Project <graphics:darktable@build.opensuse.org
as@KaLM:~$ sudo apt update
OK:1 http://ftp.uni-mainz.de/ubuntu focal InRelease
OK:2 http://ftp.uni-mainz.de/ubuntu focal-updates InRelease
OK:3 http://download.opensuse.org/repositories/graphics:/darktable/xUbuntu_20.04 InRelease
OK:4 http://archive.canonical.com/ubuntu focal InRelease
OK:5 http://ppa.launchpad.net/ubuntuhandbook1/darktable/ubuntu focal InRelease
OK:6 http://ftp.uni-mainz.de/ubuntu focal-backports InRelease
OK:7 http://download.opensuse.org/repositories/graphics:/darktable:/stable/xUbuntu_20.04 InRelease
OK:8 http://ppa.launchpad.net/ubuntuhandbook1/ppa/ubuntu focal InRelease
Ign:9 https://mirror.dogado.de/linuxmint uma InRelease
OK:10 https://mirror.dogado.de/linuxmint uma Release
OK:11 http://security.ubuntu.com/ubuntu focal-security InRelease
Paketlisten werden gelesen... Fertig
AbhÀngigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Aktualisierung fĂŒr 6 Pakete verfĂŒgbar. FĂŒhren Sie »apt list --upgradable« aus, um sie anzuzeigen.
as@KaLM:~$ sudo apt install darktable
Paketlisten werden gelesen... Fertig
AbhÀngigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
linux-headers-5.11.0-41-generic linux-headers-5.4.0-91 linux-headers-5.4.0-91-generic
linux-hwe-5.11-headers-5.11.0-41 linux-image-5.11.0-41-generic
linux-image-5.4.0-91-generic linux-modules-5.11.0-41-generic
linux-modules-5.4.0-91-generic linux-modules-extra-5.11.0-41-generic
linux-modules-extra-5.4.0-91-generic
Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.
Die folgenden zusÀtzlichen Pakete werden installiert:
darktable-dbg
Die folgenden NEUEN Pakete werden installiert:
darktable darktable-dbg
0 aktualisiert, 2 neu installiert, 0 zu entfernen und 6 nicht aktualisiert.
Es mĂŒssen 42,2 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 66,7 MB Plattenplatz zusÀtzlich benutzt.
Möchten Sie fortfahren? [J/n] J
Holen:1 http://ppa.launchpad.net/ubuntuhandbook1/darktable/ubuntu focal/main amd64 darktable amd64 1:3.8.0-1build2~ubuntu20.04 [5.434 kB]
Holen:2 http://ppa.launchpad.net/ubuntuhandbook1/darktable/ubuntu focal/main amd64 darktable-dbg amd64 1:3.8.0-1build2~ubuntu20.04 [36,8 MB]
Es wurden 42,2 MB in 9 s geholt (4.812 kB/s).
Vormals nicht ausgewÀhltes Paket darktable wird gewÀhlt.
(Lese Datenbank ... 539212 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../darktable_1%3a3.8.0-1build2~ubuntu20.04_amd64.deb ...
Entpacken von darktable (1:3.8.0-1build2~ubuntu20.04) ...
Vormals nicht ausgewÀhltes Paket darktable-dbg wird gewÀhlt.
Vorbereitung zum Entpacken von .../darktable-dbg_1%3a3.8.0-1build2~ubuntu20.04_amd64.deb
...
Entpacken von darktable-dbg (1:3.8.0-1build2~ubuntu20.04) ...
darktable (1:3.8.0-1build2~ubuntu20.04) wird eingerichtet ...
darktable-dbg (1:3.8.0-1build2~ubuntu20.04) wird eingerichtet ...
Trigger fĂŒr mime-support (3.64ubuntu1) werden verarbeitet ...
Trigger fĂŒr hicolor-icon-theme (0.17-2) werden verarbeitet ...
Trigger fĂŒr gnome-menus (3.36.0-1ubuntu1) werden verarbeitet ...
Trigger fĂŒr man-db (2.9.1-1) werden verarbeitet ...
Trigger fĂŒr desktop-file-utils (0.24+linuxmint1) werden verarbeitet ...
as@KaLM:~$ which darktable
/usr/bin/darktable
as@KaLM:~$ darktable --version
this is darktable 3.8.0
copyright (c) 2009-2021 johannes hanika
darktable-dev@lists.darktable.org
compile options:
bit depth is 64 bit
normal build
SSE2 optimized codepath enabled
OpenMP support enabled
OpenCL support enabled
**Lua support disabled**
Colord support enabled
gPhoto2 support enabled
GraphicsMagick support enabled
ImageMagick support disabled
OpenEXR support enabled
Thank you very much for any investigation!!
Could it be, the problem is regarding the Lua installation on my OS? I tried to install the Lua version 5.4. on my LinuxMint 20.02
as@KaLM:~$ lua -v
Lua 5.4.3 Copyright (C) 1994-2021 Lua.org, PUC-Rio
but
as@KaLM:~$ dpkg -l|grep lua
ii liblua5.1-0:amd64 5.1.5-8.1build4 amd64 Shared library for the Lua interpreter version 5.1
ii liblua5.2-0:amd64 5.2.4-1.1build3 amd64 Shared library for the Lua interpreter version 5.2
ii liblua5.3-0:amd64 5.3.3-1.1ubuntu2 amd64 Shared library for the Lua interpreter version 5.3
ii liblua5.3-dev:amd64 5.3.3-1.1ubuntu2 amd64 Development files for the Lua language version 5.3
ii lua5.3 5.3.3-1.1ubuntu2 amd64 Simple, extensible, embeddable programming language
You should remove the ubuntuhandbook repository, as that is from where darktable gets installed, and not from download.opensuse.org
.
Holen:1 http://ppa.launchpad.net/ubuntuhandbook1/darktable/ubuntu focal/main amd64 darktable amd64 1:3.8.0-1build2~ubuntu20.04 [5.434 kB]
Holen:2 http://ppa.launchpad.net/ubuntuhandbook1/darktable/ubuntu focal/main amd64 darktable-dbg amd64 1:3.8.0-1build2~ubuntu20.04 [36,8 MB]
Now it works!
Thank you all for your help.
Just to clarify: When I copy - pasted the commands after âapt remove daktableâ in post # 21 I got an error. Taking them from Install package graphics:darktable / darktable worked fine.