Installing your ACES via an OCIO environment variable on Linux

Introduction | This guide should work on all Linux distro. Tested on both Fedora and Debian (Ubuntu, PopOS!, etc…)

• Question: Why an environment variable and not directly an OCIO path set up in my software?
• Answer: Let’s say you have many softwares, you’ll have to manually set the path (and update it whenever you update your OCIO config file). it’s a waste of time. The global environment variable helps you set the path once and for all (softwares) automatically.

• STEP 1 | As we cannot edit the environment text file, we will do it via the terminal. Open any terminal and enter:
sudo nano /etc/environment

• STEP 2 | It will open the text file, it may appear as “GNU” and it may be empty or with very few lines. We will put the OCIO path from your HDD. Make sure you have " like in my example. And obviously, replace path/to/ocio.config with your HDD path.
OCIO="path/to/ocio.config"

• STEP 3 | Do a CTRL + X to close the environment text (or GNU editor) and then press Y as it will ask you if YES or NO you want to save. We want to save so press Y then enter.

• STEP 4
We are back in our terminal, type:
cat /etc/environment

• STEP 5
You should now see:
PATH=“bla bla bla”
OCIO=“bla bla bla/config.ocio”

• STEP 5 | Type:
source /etc/environment

• STEP 6 | Type:
echo $OCIO

• STEP 7 | If everything has been set correctly, in the correct order, you should see your full OCIO path file in the line under.

• STEP 8 | :warning: Restart your machine in order to set the variable permanently

Special thanks to Tago aka Valentin Nicolini for his help for the Discord community.