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
Copy file name to clipboardExpand all lines: downloads/platform.md
+5-14Lines changed: 5 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -77,31 +77,22 @@ You can uninstall Julia by deleting Julia.app and the packages directory in `~/.
77
77
78
78
## Linux and FreeBSD
79
79
80
-
It is strongly recommended that the official generic binaries from the downloads page be used to install Julia on Linux and FreeBSD. The following command downloads the latest Julia version in your home directory. The last line demonstrates how to start `julia`:
80
+
It is strongly recommended that the official generic binaries from the downloads page be used to install Julia on Linux and FreeBSD. The following set of commands downloads the latest version of Julia into a directory named ~~~<code>julia-{{stable_release}}</code>~~~.
tar zxvf julia-{{ stable_release }}-linux-x86_64.tar.gz
86
-
~/julia-{{ stable_release }}/bin/julia
87
85
```
88
86
89
-
### More Detailed Instructions and Explanation
87
+
### Running Julia
90
88
91
-
The generic Linux and FreeBSD binaries do not require any special installation steps, but you will need to ensure that your system can find the `julia` executable.
89
+
The generic Linux and FreeBSD binaries do not require any special installation steps, but you will need to ensure that your system can find the `julia` executable. The directory where Julia is installed is referred to as `<Julia directory>`.
92
90
93
-
First, download the `.tar.gz` file from the [downloads page](/downloads/). Most users would prefer the `glibc` version of the distribution unless you know that your system uses `musl`. You need to extract this file to a suitable location. To extract the file, you can use the following command:
94
-
95
-
```
96
-
tar -xvzf julia-{{stable_release}}-linux-x86_64.tar.gz
97
-
```
98
-
99
-
This will extract the files to a folder named according to the version (here ~~~<code>julia-{{stable_release}}</code>~~~).
100
-
We would refer this as `<Julia directory>`. To run Julia, you can do any of the following:
91
+
To run Julia, you can do any of the following:
101
92
93
+
* Invoke the `julia` executable by using its full path: `<Julia directory>/bin/julia`
102
94
* Create a symbolic link to `julia` inside a folder which is on your system `PATH`
103
95
* Add Julia's `bin` folder (with full path) to your system `PATH` environment variable
104
-
* Invoke the `julia` executable by using its full path, as in `<Julia directory>/bin/julia`
105
96
106
97
To add Julia's `bin` folder (with full path) to `PATH` environment variable, you can edit the `~/.bashrc` (or `~/.bash_profile`) file. Open the file in your favourite editor and add a new line as follows:
0 commit comments