Skip to content

Instantly share code, notes, and snippets.

@muripoLife
Last active January 1, 2021 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save muripoLife/20f1d733e796b4fc089445db9f30501f to your computer and use it in GitHub Desktop.
Save muripoLife/20f1d733e796b4fc089445db9f30501f to your computer and use it in GitHub Desktop.
WSLへのJuliaのインストール

やること

  1. 公式ページから Generic Linux Binaries for x86 の64bitの .tar.gzをDL
  2. tar -Jxvf julia-1.3.1-linux-x86_64.tar.gz で解凍
  3. .bashrc に追記 alias julia='HOME/julia-1.3.1/bin/julia'
  4. source .bashrc で反映
  5. julia を立ち上げる
  6. ] で pakageモードにする
  7. pakageモードで add IJulia
  8. jupyter をインストール
$ tar -Jxvf julia-1.3.1-linux-x86_64.tar.gz
$ vim .bashrc
[vim] alias julia='HOME/julia-1.3.1/bin/julia'
$ julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.3.1 (2019-12-30)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia>]
(v1.3) pkg> add IJulia
$ jupyter notebook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment