This tutorial will guide you through the process of installing Elixir on Linux Mint Latest. Elixir is a dynamic, functional language designed for building scalable and maintainable applications.
Before we install Elixir, it is recommended to update the system. Open a terminal and run the following command:
sudo apt-get update
Elixir requires some dependencies to be installed. Run the following command to install them:
sudo apt-get install wget unzip
Version Manager, also known as asdf
, will be used to manage Elixir versions. Run the following command to install it:
sudo apt-get install git curl apt-transport-https
Once asdf
is installed, we will download the latest version of Elixir using it. Run the following command:
asdf plugin add elixir
asdf install elixir latest
It may take some time depending on your internet speed.
Now we need to set up the environment variables. Run the following command:
echo -e "\n. $HOME/.asdf/plugins/elixir/elixir-$VERSION-otp-$OTP/bin" >> $HOME/.bashrc
Replace $VERSION
and $OTP
with the actual version number and OTP version you installed. You can obtain this information using the following command:
asdf list elixir
To verify that Elixir is installed successfully, run the following command:
elixir --version
You should see output similar to the following:
Elixir 1.12.0 (compiled with Erlang/OTP 24)
Congratulations! You have successfully installed Elixir on Linux Mint Latest. Elixir can now be used to build powerful and scalable applications.
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!