I would like to share in this post the path to having darktable installed on Debian 12.
How did all of this started?
In 2020 I had my daily driver laptop running Linux Mint and setup for photo, accounting (printing, scanning of documents), and scripting in powershell workflow(s). Had this for a real year and moved back to windows due to some other tools I needed and the easiness of that OS in the end when you don’t want to spend time on fixing things.
2021, found out about freeBsd and configure that to a certain point on a spare laptop, found it so clean but could not really use it other for web based tasks, issue with usb3 and so.
Summer 2023, when I saw the speed of DT 4.4.2 on another machine with Linux, and well the bug started to wake up. I had a gaming laptop left, with a nvidia 1060, and that would be nice for the openCl support in DT.
From here started my journey to try to:
- calibrate laptop screen with displayCal
- have darktable work with openCl
Without using flatPack, snap or things like that. These are very big in download, as they areit’s its own thing in a sandbox package.
I tried all these modern Linux distributions:
- openSuse
- fedora once with gnome and once with kde
- popOs
It was a mess with missing packages, depenencies of those packages, got issues with python, then impossible to import an icc profile as a user from the wheel goup etc etc.
Then why not do it on freeBsd? Well that laptop is having a special keyboard and that’s too much work to get it working.
So I ended up with the first of the gnu/linux family Debian (can be wrong). And to my surprise all went smooth. And like all my other attempts darktable here was build on the machine from source.
Desktop on Debian used is xfce (same one I used on freeBsd).
Here are the steps that I executed:
- add standard user to group sudo
su –l
adduser charly sudo
- Add the Non-Free repository
sudo apt edit-sources
add line (asked if I wanted use nano, yes thank you)
deb http://http.us.debian.org/debian stable main contrib non-free
sudo apt update
- Installing Nvidia components
sudo apt install nvidia-driver firmware-misc-nonfree
#this will enable openCL
sudo apt install nvidia-cuda-dev nvidia-cuda-toolkit
-
installing displayCal
sudo apt install displaycal #didn't save this so could be wrong here
-
following the build instructions on github for darktable
After that I was able to verify that openCl was enable for darktable and use the program. I was happy after all that seamless work.
Hope this gives classic Debian some credit.