Skip to content

Commit 11d2bb4

Browse files
committed
Upgrade install instructions, remove outdated packages, mentioned clearly when they may be outdated
1 parent f590c86 commit 11d2bb4

File tree

1 file changed

+7
-25
lines changed

1 file changed

+7
-25
lines changed

install.markdown

Lines changed: 7 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,11 @@ Keep in mind that each Elixir version supports specific Erlang/OTP versions. [Se
4747

4848
#### Distributions
4949

50-
- **Alpine Linux** (Community repository)
51-
* Run: `apk add elixir`
52-
5350
- **Arch Linux** (Community repository)
5451
* Run: `pacman -S elixir`
5552

5653
- **Debian**
57-
* Run: `sudo apt install erlang-dev elixir`
58-
59-
- **Debian** (and **Ubuntu**) alternative
60-
* Use the [RabbitMQ Packages](https://launchpad.net/~rabbitmq) (might not be up-to-date however likely newer than the distribution)
54+
* The packages in `apt` tend to lag several versions behind. You may use [RabbitMQ Packages](https://launchpad.net/~rabbitmq), outlined below, which are likely newer than `apt`, but our recommendation is to use one of the several other installation methods.
6155

6256
```bash
6357
$ sudo add-apt-repository ppa:rabbitmq/rabbitmq-erlang
@@ -66,9 +60,9 @@ Keep in mind that each Elixir version supports specific Erlang/OTP versions. [Se
6660
```
6761

6862
- **Fedora**
69-
* Run: `sudo dnf install elixir erlang`
63+
* Fedora's Rawhide repository keeps more recent versions: `sudo dnf --disablerepo='*' --enablerepo=rawhide install elixir elixir-doc erlang erlang-doc`
64+
* You may use the default distribution, but those are often stale: `sudo dnf install elixir erlang`
7065
* Documentation is available in separate packages: `sudo dnf install elixir-doc erlang-doc`
71-
* Fedora's Rawhide repository has newer versions before they go into the main repositories: `sudo dnf --disablerepo='*' --enablerepo=rawhide install elixir elixir-doc erlang erlang-doc`
7266
7367
- **Gentoo**
7468
* Run: `emerge --ask dev-lang/elixir`
@@ -81,21 +75,9 @@ Keep in mind that each Elixir version supports specific Erlang/OTP versions. [Se
8175
* Run: `zypper in elixir`
8276
* Optional: if you want to use the latest Erlang, you can use this repository: `zypper ar -f obs://devel:languages:erlang:Factory Erlang-Factory`
8377
84-
- **Slackware**
85-
* Using Sbopkg:
86-
* Run: `sbopkg -ki "erlang-otp elixir"`
87-
* Manually:
88-
* Download, build and install from SlackBuilds.org: [`erlang-otp`](https://slackbuilds.org/repository/14.2/development/erlang-otp/), and [`elixir`](https://slackbuilds.org/repository/14.2/development/elixir)
89-
90-
- **Solus**
91-
* Run: `eopkg install elixir`
92-
9378
- **Ubuntu**
94-
* Run: `sudo apt install elixir`
95-
* Alternatively, use [install scripts](#install-scripts)
96-
97-
- **Void Linux**
98-
* Run: `xbps-install -S elixir`
79+
* The packages in `apt` tend to lag several versions behind, consider using [install scripts](#install-scripts)
80+
* Alternatively, follow the same steps as Debian
9981
10082
### BSD
10183
@@ -121,15 +103,15 @@ Keep in mind that each Elixir version supports specific Erlang/OTP versions. [Se
121103
{% endfor %}
122104
Run `erl` in the terminal if you are unsure of your Erlang/OTP version.<br />Previous Elixir versions are available in our [Releases](https://github.com/elixir-lang/elixir/releases) page.
123105
106+
- Using [install scripts](#install-scripts)
107+
124108
- Using [Scoop](https://scoop.sh/):
125109
* Install Erlang: `scoop install erlang`
126110
* Install Elixir: `scoop install elixir`
127111
128112
- Using [Chocolatey](https://community.chocolatey.org/):
129113
* Install Elixir (installs Erlang as a dependency): `choco install elixir`
130114
131-
- Using [install scripts](#install-scripts)
132-
133115
### Raspberry Pi and embedded devices
134116
135117
To build and package an Elixir application, with the whole operating system, and burn that into a disk or deploy it overwhere, [check out the Nerves project](https://www.nerves-project.org).

0 commit comments

Comments
 (0)