You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Windows, Julia shell acts ugly when you are trying to deal with directories (cd, rm, ls, pwd...). There is a way to use linux-like julia without installing a new Linux system, or virtual system like virtualbox (BTW, these are also two methods, but not quite convenient for Windows users). Win10 contains Ubuntu!
Following are the steps:
in Windows 10, goto Microsoft store (BTW, goto is already abandoned in the modern language :P )
find Ubuntu, and install it. I tested Ubuntu, and Ubuntu 18.04, both work.
download julia for linux, https://julialang.org/downloads/
Best to download: Generic Linux Binaries for x86, for 64-bit (depend on your computer, maybe 32-bit)
you will get the file "julia-1.0.0-linux-x86_64.tar.gz" in your download directory, say "Downloads"
run Ubuntu, it prompts a shell.
Move the downloaded file to your directory in Ubuntu.
something like, :~/$ mv /mnt/c/Users/zouyc/Downloads/julia-1.0.0-linux-x86_64.tar.gz ./
unzip the file
:~/$tar xvzf julia-1.0.0-linux-x86_64.tar.gz
You get everything you need!
run it:
:~/$./julia-1.0.0/bin/julia
enjoy it!
An easier way to use it for the next time is:
add "alias julia='~/Julia/julia-1.0.0/bin/julia' " to the end of the file ~/.bashrc
next time, you don't need to give the absolute path of julia, just type 'julia' in the Bash.
The text was updated successfully, but these errors were encountered:
there are still driver issues with wsl, be careful with that in WSL(Windows Subsystem Linux). You might not be able to use some package in the future. Because wsl is not fully a Linux.
In Windows, Julia shell acts ugly when you are trying to deal with directories (cd, rm, ls, pwd...). There is a way to use linux-like julia without installing a new Linux system, or virtual system like virtualbox (BTW, these are also two methods, but not quite convenient for Windows users). Win10 contains Ubuntu!
Following are the steps:
find Ubuntu, and install it. I tested Ubuntu, and Ubuntu 18.04, both work.
Best to download: Generic Linux Binaries for x86, for 64-bit (depend on your computer, maybe 32-bit)
you will get the file "julia-1.0.0-linux-x86_64.tar.gz" in your download directory, say "Downloads"
something like, :~/$ mv /mnt/c/Users/zouyc/Downloads/julia-1.0.0-linux-x86_64.tar.gz ./
:~/$tar xvzf julia-1.0.0-linux-x86_64.tar.gz
You get everything you need!
:~/$./julia-1.0.0/bin/julia
enjoy it!
An easier way to use it for the next time is:
add "alias julia='~/Julia/julia-1.0.0/bin/julia' " to the end of the file ~/.bashrc
next time, you don't need to give the absolute path of julia, just type 'julia' in the Bash.
The text was updated successfully, but these errors were encountered: