Install LightZone on Ubuntu 20.04 – get your RAW photos looking sharp
If you’re still grinding through the photo‑editing mess that is GIMP or Lightroom, LightZone’s free “non‑destructive” workflow might feel like a breath of fresh air. It’s not in the default repos, but don’t let that scare you—you can get it up and running on Ubuntu 20.04 with a handful of commands.
Prerequisites: make sure your system is ready
1. Update your package lists
sudo apt update && sudo apt upgrade -y
Keeping everything fresh prevents dependency headaches later on.
2. Install build essentials and libraries
LightZone needs a handful of development packages to compile:
sudo apt install build-essential libjpeg-dev libtiff5-dev \
libpng-dev libglib2.0-dev libqt4-dev qttools5-dev-tools \
cmake git -y
These provide the compiler, image libraries and Qt framework that LightZone relies on. Skipping any of them will make the build choke.
Grab the source
The upstream project stopped shipping Debian packages a while back, so you’ll have to pull the code yourself:
git clone https://github.com/Lightzone/lightzone.git cd lightzone
I’ve seen folks run into trouble when they grab an older tag that still expects Qt 4.5. Using the master branch keeps it up to date with newer libraries.
Compile and install
mkdir build && cd build cmake .. -DCMAKE_BUILD_TYPE=Release make -j$(nproc) sudo make install
Why -j$(nproc)? It tells make to use all your CPU cores, cutting the compile time from a half‑hour to just a few minutes on an average laptop.
If you hit a “Could not find Qt” error, double‑check that qttools5-dev-tools is installed—Qt 5.15 ships with Ubuntu 20.04, but the build system still looks for Qt 4 headers by default unless overridden.
Verify it works
Run LightZone from the terminal:
lightzone
If a splash screen pops up and you see “LightZone – The free RAW editor,” congratulations—everything’s wired together. If it crashes on startup, try launching with debug flags to see missing libs:
LD_DEBUG=libs lightzone
I’ve seen this happen after an accidental removal of libjpeg8 during a system cleanup; the debugger will show which library is missing.
Optional: Create a desktop shortcut
If you’re not a terminal fan, drop a small launcher into your applications menu:
cat <<EOF | sudo tee /usr/share/applications/lightzone.desktop [Desktop Entry] Name=LightZone Comment=Non-destructive RAW editor Exec=/usr/local/bin/lightzone %F Icon=lightzone Terminal=false Type=Application Categories=Graphics;Photography; EOF
Refresh your menu (log out/in or sudo update-desktop-database) and you’ll have a clickable icon.
LightZone may feel a bit “old school” compared to the slick cloud editors out there, but its non‑destructive tweak engine still deserves a spot in any photo lover’s toolkit—especially if y