generated from JuliaAI/MLJExampleInterface.jl
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
29 additions
and
50 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,18 @@ | ||
# Installing Julia | ||
|
||
**Important** When following the following **four steps**, be sure the version | ||
of Julia you install is **version 1.10.x**, where **x** is any integer. | ||
Follow these **four** steps to install Julia on your computer: | ||
|
||
While Julia can be run in the cloud (see e.g., | ||
[here](https://juliahub.com/ui/Home)) we recommend installing Julia on | ||
your machine when starting out: | ||
1. If you are a Windows user, install [Windows Terminal](https://aka.ms/terminal) and make | ||
sure you know how to open a new terminal process (window), into which you can type | ||
commands. If the link doesn't work, try a different browser. | ||
|
||
1. If you are a Windows user, install [Windows | ||
Terminal](https://apps.microsoft.com/store/detail/windows-terminal/9N0DX20HK701?hl=en-nz&gl=nz) | ||
and make sure you know how to open a new terminal process, into which you can type | ||
commands. | ||
|
||
2. Install the julia compiler: | ||
2. Follow [these official installation instructions](https://julialang.org/downloads/). | ||
|
||
- Mac: Download the appropriate the file ending in `.dmg` appropriate to your processor | ||
and follow [these instructions](https://julialang.org/downloads/platform/#macos). | ||
|
||
- Ubuntu and other Linux distributions: Follow [these | ||
instructions](https://ferrolho.github.io/blog/2019-01-26/how-to-install-julia-on-ubuntu) | ||
**but replace "1.8" with "1.9", and "1.8.5" with "1.9.0"** in all commands (unless | ||
this has already been updated in the post). | ||
|
||
- Windows: Follow [these instructions](https://julialang.org/downloads/platform/#windows) (video below) | ||
|
||
**It is very strongly recommended that you add `julia` to your `PATH`**, as described in | ||
the instructions, so that Julia can be launched from a terminal/console. (On a Mac, | ||
double clicking on the Julia application icon will also do.) | ||
|
||
<br style="width:600px; height:480px"> | ||
<img src="./Julia_Installation.gif" /> | ||
</br> | ||
|
||
An new alternative I have not tried or tested myself is to use | ||
[juliaup](https://github.com/JuliaLang/juliaup). | ||
|
||
3. Open the downloaded application in the usual way for your OS, or | ||
type `julia` and press `return` from a terminal window. This launches a command-line | ||
interface for interacting with julia called the | ||
3. Open a terminal window and type `julia`, and press `RETURN` or `ENTER`. This | ||
launches a command-line interface for interacting with julia called the | ||
[REPL](https://en.wikipedia.org/wiki/Read–eval–print_loop). | ||
|
||
4. *Testing.* At the `julia> ` prompt, type `println("Hello | ||
world!")` and press `enter`. The words "Hello world!" should be repeated back to you: | ||
4. *Testing.* At the `julia> ` prompt, type `println("Hello world!")` and press `RETURN` | ||
or `ENTER`. The words "Hello world!" should be repeated back to you: | ||
|
||
![Julia REPL screen shot](/assets/hello_world.png) | ||
|
||
*Known issue*: If launching Julia on a Mac by clicking on the app icon, you may encounter | ||
"Error: Not authorised to send Apple events to Terminal." Workaround: See [this | ||
fix](https://apple.stackexchange.com/questions/393096/error-not-authorised-to-send-apple-events-to-terminal-when-starting-maxima) | ||
or add `julia` to your `PATH` so you can launch Julia from the terminal . |
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
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