Install Erlang without GTK

I'm trying to get Erlang to work on my Fedora server, in particular to run rabbitmq, but when I yum install erlang yum complains that wxGTK requires a bunch of packages.

Wtf? Why is erlang trying to install a GUI? I intend to deploy this on a headless server.

Does erlang need to be compiled from source? Can't I use erlang version without GUI?

+4
source share
2 answers

I like to use the kurl script created by the people in Basho to install Erlang. It works great on ubuntu. Hope this will be on Fedora too.

This will actually automatically download the source code and compile it. If you have not installed Wx, it will not compile this library and will work fine (unless you use the tools that need it, of course)

+6
source

I assume that by default your erlang installation has wxErlang, and therefore these packages are required for installation.

At https://github.com/erlang/otp/wiki/Installation you will find instructions for installing Erlang / OTP manually.

In the configuration part, you can disable the wxErlang part. Usually no additional configuration is required, as wxErlang support will be disabled by default if necessary packages are not installed.

+1
source

Source: https://habr.com/ru/post/1385569/


All Articles