Last active
August 29, 2015 13:57
-
-
Save multidis/9844813 to your computer and use it in GitHub Desktop.
Julia language and JuliaStudio on Ubuntu machine. NOTE: using Ubuntu repositories for convenience of update management. Alternatively, there is a nightly build repository on Launchpad as well, and also another option is to git clone from github and build (not doing that here).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Julia: latest stable release from Launchpad repositories (makes updates easier) | |
## https://github.com/forio/julia-studio/blob/master/linux-build.md | |
## https://github.com/JuliaLang/julia/blob/master/.travis.yml | |
sudo apt-get install zlib1g-dev | |
sudo apt-get install patchelf gfortran llvm-3.3-dev libsuitesparse-dev libncurses5-dev libopenblas-dev liblapack-dev libarpack2-dev libfftw3-dev libgmp-dev libpcre3-dev libunwind7-dev libreadline-dev libdouble-conversion-dev libopenlibm-dev librmath-dev libmpfr-dev | |
sudo add-apt-repository ppa:staticfloat/juliareleases | |
sudo add-apt-repository ppa:staticfloat/julia-deps | |
sudo apt-get update | |
sudo apt-get install julia | |
## add Gedit highlighting | |
## https://github.com/JuliaLang/julia/blob/master/contrib/julia.lang | |
## place julia.lang in /usr/share/gtksourceview-3.0/language-specs | |
## now setup scientific computing packages and IJulia | |
## https://gist.github.com/multidis/9850589 | |
## LightTable JunoLT setup as IDE | |
## https://gist.github.com/multidis/fdfb8842f10f86c149b6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### NOTE: LightTable with JunoLT/Jewel may be better | |
## Qt needed for JuliaStudio: 5.1 or later (built Qt 5.3.2 64bit in Oct 2014) | |
## http://qt-project.org/downloads | |
## add ...Qt/.../gcc_64/bin to PATH in .bashrc or .bash_aliases | |
which qmake | |
## JuliaStudio http://forio.com/labs/julia-studio/ | |
## https://github.com/forio/julia-studio/ | |
## NOTE: Qt qsqlib problems in binary version built by Forio; | |
## INSTEAD, build from source; | |
## below mostly following | |
## https://github.com/forio/julia-studio/blob/master/linux-build.md | |
wget https://github.com/forio/julia-studio/archive/master.zip | |
unzip master.zip | |
cd julia-studio-master | |
mkdir build | |
cd build | |
qmake -r CONFIG+=debug_and_release ../julia-studio.pro | |
make release ## long time | |
make install INSTALL_ROOT=`pwd`/julia-studio-linux-x86_64 | |
## run julia-studio.sh | |
## in Tools->Settings, set "path to Julia binaries" to /usr/bin/julia | |
which julia | |
## make shortcut to .sh, julialang.org favicon is good (make png) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment