Version

For this course, Julia lectures and test questions will be based on Julia 0.6.1.

You can use https://www.juliabox.com/ to try out Julia. Or, you can download it from http://julialang.org/downloads/.

Here’s a quick script that will work on the campus Linux machines.

# Make a directory for this.
mkdir julia
cd julia

# Download the compressed executable
wget https://julialang-s3.julialang.org/bin/linux/x64/0.6/julia-0.6.1-linux-x86_64.tar.gz

# Verify that its sha256 sum is OK.
# If this fails, something weird happened during the download.
echo "d73f988b4d5889b30063f40c2f9ad4a2487f0ea87d6aa0b8ed53e789782bb323 *julia-0.6.1-linux-x86_64.tar.gz" | sha256sum -c

# Unpack it
tar -xf julia-0.6.1-linux-x86_64.tar.gz

# Now there's a new directory called julia-0d7248e2ff

# We can run Julia like this
./julia-0d7248e2ff/bin/julia

Lecture Outline

  1. Julia Crash Course
  2. Writing our own Diagonal matrix type: SingleDiag