[erlang-questions] How to install a specific version of erlang and uninstall a previously installed version on linux

7 views
Skip to first unread message

Abhishek Ranjan

unread,
May 2, 2017, 7:57:52 AM5/2/17
to erlang-q...@erlang.org

Hi,

I am a beginner in erlang and probably it is quite a naive question but I am new to both erlang and linux os as well. I an using Amazon AWS linux instance. I was installing ejabberd in the linux instance through source code when I came to know that I had to install erlang first so I ran command 

yum install erlang 

and the system installed erlang R14B ,then I found that it was needed that i install erlang/otp 17.1 for this.

So now I am a bit confused how to uninstall previous version of erlang first and then install a specific version of erlang i.e. Erlang/OTP 17.1 on Amazon AWS linux instance.

Thanks in advance.

Regards,

Abhishek

Graham Hay

unread,
May 2, 2017, 8:34:28 AM5/2/17
to Abhishek Ranjan, Erlang Questions
Erlang Solutions provide pre-built binaries of newer versions:


Or you can build it yourself (using e.g kerl).

Jack Tang

unread,
May 2, 2017, 8:41:28 AM5/2/17
to Erlang-Questions Questions
You can install and manage different erlang version by kerl (https://github.com/kerl/kerl)

_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions




--

Abhishek Ranjan

unread,
May 2, 2017, 8:43:16 AM5/2/17
to Graham Hay, Erlang Questions

But aren't these binaries for windows os and i am looking to install a specific version of erlang (17.1) in linux instance that actually runs like fedora 

Regards
Abhishek


Hecate

unread,
May 2, 2017, 8:44:49 AM5/2/17
to erlang-q...@erlang.org
My advice for that would be to use Kerl → https://github.com/kerl/kerl

I use it along with Kiex (for Elixir) and it just works™.

Have a good day!

Sölvi Páll Ásgeirsson

unread,
May 2, 2017, 8:45:08 AM5/2/17
to Abhishek Ranjan, erlang-q...@erlang.org
Hi

I tend to use the Erlang Solutions RPMs. You can find them at
https://www.erlang-solutions.com/resources/download.html

Cheers
Sölvi

Abhishek Ranjan

unread,
May 2, 2017, 9:17:50 AM5/2/17
to Graham Hay, HODGSON, GARRY, Erlang Questions
Yes @GrahamHay already pointed that to me.
Thank you for reply anyway.
Regards
Abhishek

On May 2, 2017 at 6:44 PM "HODGSON, GARRY" <GH2...@att.com> wrote:

Why would you think that? They have tabs for Ubuntu, centos, osx, debian, windows, fedora, and raspbian.

Abhishek Ranjan

unread,
May 3, 2017, 2:54:18 AM5/3/17
to Graham Hay, Erlang Questions
Hi,
I tried installing erlang from the packages link but it didn't worked for me somehow,then I tried installing it from source but instead of installing 6.1 Erlang/OTP 17.1 it installed erts 5.8.5 instead of 6.1.
Then I decided to install it using kerl from the link
[https://github.com/kerl/kerl](https://github.com/kerl/kerl)

but after the command : chmod a+x kerl
it is written that : drop it in your $PATH
I am not able to understand what path is it talking about. Do we also have a root path like windows, in linux also?
Can you please guide a little?
Regards
Abhishek

On May 2, 2017 at 6:04 PM Graham Hay <graha...@gmail.com> wrote:

Abhishek Ranjan

unread,
May 3, 2017, 2:56:40 AM5/3/17
to Graham Hay, Erlang Questions
sorry about the link it got typed twice.
Regards
Abhishek
_______________________________________________
Reply all
Reply to author
Forward
0 new messages