Last active
April 11, 2022 18:53
-
-
Save Dsantra92/2e6a0e69a8a7c4a9e010ccea411b3a02 to your computer and use it in GitHub Desktop.
Installs Julia-1.7.2 with some packages
This file contains hidden or 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
#!/bin/bash | |
######################################### | |
# This script installs Julia-1.7.2 with | |
# some basic packages. After installation | |
# Julia can be accessed just by typing | |
# julia in the terminal. | |
########################################## | |
rm -r ~/julia | |
mkdir -p ~/julia | |
wget https://julialang-s3.julialang.org/bin/linux/x64/1.7/julia-1.7.2-linux-x86_64.tar.gz\ | |
-O /tmp/julia.tar.gz | |
tar -xvzf /tmp/julia.tar.gz -C ~/julia --strip-components 1 | |
rm /tmp/julia.tar.gz | |
ln -s ~/julia/bin/julia /usr/local/bin/ | |
julia -e 'using Pkg; Pkg.add([ | |
"Plots", "Distributions", "Images", "BenchmarkTools", | |
"DataStructures", "HTTP", "SpecialFunctions", "Statistics", | |
"MultivariateStats", "Combinatorics", "PyCall", "CSV", "ChainRules", | |
"DataFrames", "Flux", "IJulia", "JuMP", "MacroTools", "Plotly", | |
"Pluto", "PlutoUI", "Turing", "ZipFile", "Zygote" | |
])' | |
echo 'Julia 1.7.2 is now installed' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment