Julia

Installation

  1. Julia for Ubuntu: a. download the .deb from the julia download page and install or preferably: b. add julia repo to package manager
    sudo add-apt-repository ppa:staticfloat/juliareleases
    sudo add-apt-repository ppa:staticfloat/julia-deps
    sudo apt-get update
    sudo apt-get install julia
  2. Jupyter kernel:
    1. make sure jupyter is installed  (pip install jupyter)
    2. start julia and type Pkg.add(“IJulia”). You may also need to Pkg.add() other dependent packages and Pkg.update() and/or Pkg.build() if something fails.
    3. echo "Pkg.update()" | julia
      echo "Pkg.add(\"IJulia\")" | julia # ? does not match cache
      echo "Pkg.build()" | julia
      # at this point julia should work in jupyter

      echo "Pkg.add(\"PyPlot\")" | julia

    4. Launch jupyter and it should prompt you which kernel to use.
  3. Vim color scheme:
    1. prepare to install vundle by appending the following to .vimrc:
      " Julia syntax highlighting through vundle
      set nocompatible " to be improved, required
      filetype off " required
      " set the runtime path to include Vundle and initialize
      set rtp+=~/.vim/bundle/Vundle.vim
      call vundle#begin()
      Plugin 'VundleVim/Vundle.vim'
      Plugin 'JuliaLang/julia-vim'
      call vundle#end() " required
      filetype plugin indent on " required
    2. download vundle: 
      git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
    3. install vundle: 
      vim +PluginInstall +qall