When installing IJulia we encountered two problems. Firstly at our work laptops the installation directory for Julia defaults to the G:\ drive. This is because when we log in through the TUe logon server, Windows sets its HOMEDRIVE variable to G:. For Julia we can override this setting by adding the line set JULIA_PKGDIR=C:\Users\[your_name]\.julia
to the prepare-julia-env.bat
file, just below the other set statements. After adding this line run the bat file. (More info: here and here).
The second problem is that LibCURL and Nettle would not build when calling Pkg.add("IJulia")
in the Julia console. This is because these packages depend on dll files that need to be downloaded from an external source. However, the university firewall does not allow this. We need to manually download these dependencies. The files for LibCURL can be found here. For 64 bit Windows scroll down to 'Win64 - MinGW64' and download the binary. For 32 bit Windows scroll down to 'Win32 - Generic' and pick a binary one. In both cases you can unpack them and put all the files in Julia's bin
directory. Then you need to rename the libcurl.dll
file to libcurl-4.dll
. (More info here ). The same downloading procedure holds for Nettle. You need the libnettle-4-6.dll
file. Just get the file 32 bit/64 bit and unpack it (you need to unpack is twice, with 7-zip) in the same directory (no renaming this time).
Now when you open your Julia console and type Pkg.add("IJulia")
, IJulia should build.