Change location of .julia

#1

I am currently in the process of installing Julia in the ChromeOS shell. I have julia running OK, but I cannot seem to install some packages because the .julia directory is located in the noexec home folder. I would like to move .julia to a different location, but am having trouble finding information on how to do that for v1.1.0.

How can I change the location of .julia?

0 Likes

#2

A symlink might be easiest. Within Julia, I think it’s DEPOT_PATH.

1 Like

#3

See https://docs.julialang.org/en/v1.2-dev/manual/environment-variables/#JULIA_DEPOT_PATH-1

2 Likes

#4

export JULIA_DEPOT_PATH="/usr/local/.julia" in my .bashrc did the trick, thanks!

0 Likes