Skip to content

Commit 4b4d4d0

Browse files
committed
Further clarity for #959
1 parent 1adf983 commit 4b4d4d0

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

downloads/platform.md

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -77,31 +77,22 @@ You can uninstall Julia by deleting Julia.app and the packages directory in `~/.
7777

7878
## Linux and FreeBSD
7979

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>~~~.
8181

8282
```
83-
cd ~
8483
wget https://julialang-s3.julialang.org/bin/linux/x64/{{stable_release_short}}/julia-{{ stable_release }}-linux-x86_64.tar.gz
8584
tar zxvf julia-{{ stable_release }}-linux-x86_64.tar.gz
86-
~/julia-{{ stable_release }}/bin/julia
8785
```
8886

89-
### More Detailed Instructions and Explanation
87+
### Running Julia
9088

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>`.
9290

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:
10192

93+
* Invoke the `julia` executable by using its full path: `<Julia directory>/bin/julia`
10294
* Create a symbolic link to `julia` inside a folder which is on your system `PATH`
10395
* 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`
10596

10697
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:
10798

0 commit comments

Comments
 (0)