Elixir is a functional and dynamic programming language built on top of the Erlang VM. It is designed for building scalable, fault-tolerant, and distributed applications. In this tutorial, we will show you how to install Elixir on EndeavourOS latest using the official package manager and compile it from source.
EndeavourOS latest provides the Elixir package in its default repository. You can install it using the following commands in the terminal:
Update the package manager:
sudo pacman -Syu
Install Elixir:
sudo pacman -S elixir
Verify the installation:
elixir --version
The output should show the installed Elixir version.
If you want to install a specific version of Elixir that is not available in the official repository, you can compile it from source. Follow these steps:
Install the required dependencies:
sudo pacman -S git make gcc erlang
Clone the Elixir source code:
git clone https://github.com/elixir-lang/elixir.git
Change to the elixir directory:
cd elixir
Checkout the tag of the version you want to install:
git checkout v1.12.2
Replace v1.12.2
with the desired version.
Compile Elixir:
make
This may take a while depending on your system specifications.
Install Elixir:
sudo make install
Verify the installation:
elixir --version
The output should show the installed Elixir version.
You now have Elixir installed on your EndeavourOS latest operating system. You can start building your applications using Elixir and the powerful Erlang VM.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!