In truth, the better solution would be changing your PATH to search in PATH_TO_LATEX before /usr/bin. It is very common for linux users to have their own script/binary folders in the start of their PATH before the system ones.
If you want to always use your version of latex over others (in all programs respecting PATH) make this global and permanent, as in the tutorial. If you just want this in Julia, and in specific sessions, you can call Julia like this: