Skip to content

Commit f64ae38

Browse files
committed
Simplify Ubuntu steps, Debian ones do not work
1 parent f1c9004 commit f64ae38

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

install.markdown

+9-12
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,13 @@ Install Elixir according to your operating system and tool of choice.
3434

3535
### GNU/Linux
3636

37-
Below we list steps for installing Elixir in different distributions. If your distribution is not listed, you may consider using [version managers](#version-managers).
37+
Below we list steps for installing Elixir in different distributions. If your distribution is not listed or the steps below do not work, you may consider using [version managers](#version-managers).
3838

3939
#### Distributions
4040

4141
- **Arch Linux** (Community repository)
4242
* Run: `pacman -S elixir`
4343

44-
- **Debian**
45-
* 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`, or use [version managers](#version-managers).
46-
47-
```bash
48-
$ sudo add-apt-repository ppa:rabbitmq/rabbitmq-erlang
49-
$ sudo apt update
50-
$ sudo apt install elixir erlang-dev erlang-xmerl
51-
```
52-
5344
- **Fedora**
5445
* Fedora's Rawhide repository keeps more recent versions: `sudo dnf --disablerepo='*' --enablerepo=rawhide install elixir elixir-doc erlang erlang-doc`
5546
* You may use the default distribution, but those often lag behind: `sudo dnf install elixir erlang`
@@ -67,8 +58,14 @@ Below we list steps for installing Elixir in different distributions. If your di
6758
* Optional: if you want to use the latest Erlang, you can use this repository: `zypper ar -f obs://devel:languages:erlang:Factory Erlang-Factory`
6859

6960
- **Ubuntu**
70-
* The packages in `apt` tend to lag several versions behind, consider using [install scripts](#install-scripts) instead
71-
* Alternatively, follow the steps outlined for Debian distributions
61+
* Use [install scripts](#install-scripts) (or alternatively [version managers](#version-managers))
62+
* 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`:
63+
64+
```bash
65+
$ sudo add-apt-repository ppa:rabbitmq/rabbitmq-erlang
66+
$ sudo apt update
67+
$ sudo apt install git elixir erlang
68+
```
7269

7370
#### Version managers
7471

0 commit comments

Comments
 (0)