Installing the latest possible version of Erlang on Windows Subsystem for Linux on the Anniversary Update
wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb && sudo dpkg -i erlang-solutions_1.0_all.deb # Adds repo to ubuntu
sudo apt-get update
sudo apt-get install esl-erlang=1:18.3
# installs a version of erlang that plays nice with this verision of WSL
# you might have to remove some packages to install this version, so feel free to uninstall those packages
# you can see these errors in the below code block
sudo rm /usr/bin/erl # This prevents a symlink error that happens when you install this version of erlang
sudo ln -s /usr/lib/erlang/bin/erl /usr/bin/erl # this resymlinks the correct erlang file