Ubuntu: Trying to install Erlang on Ubuntu 12.04, error with make install



Question:

I am trying to install Erlang R16B on my laptop with Ubuntu 12.04. I get an error which says:

/usr/bin/install -c -d "/usr/local/lib/erlang"  /usr/bin/install: cannot change permissions of `/usr/local/lib/erlang': No such file or directory  make: *** [install.dirs] Error 1  

I'm following a tutorial on docs.basho.com to install it and well, they didn't cover what to do and I have a hard time finding answers on Google. I found another post on erlang.org about installing it here but it didn't help me and it was just about generally installing it, not about errors like these. Anyhow, I hope somebody has any idea on what I can do to fix this :)

I intend to learn Erlang to basically make a server, to learn how it works. My own little project.


Solution:1

You need permission to modify system folders. Try:

sudo make install  

PS: why don't you install erlang from Ubuntu repositories? Just run sudo apt-get install erlang.


Solution:2

Not an answer to the original question, but to the later question: "PS: why don't you install erlang from Ubuntu repositories? Just run sudo apt-get install erlang."

The version in the repositories is extremely out of date and does not support a huge amount of software that is currently available. I believe it is version 14.4 while the latest stable version is 16.2.

For instance, you need version 16 or above to run elixir.

I hope this helps answer your question.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »