为了在Ubuntu 18上安装Erlang 17.3,我尝试了很多方法。到目前为止,我想出了这个解决方案,你可以阅读下面的内容:
wixjitnu1#
For installation Erlang 17.3 on Ubuntu 18 you should do the following things: Enter in the console next command:
wget http://erlang.org/download/otp_src_17.3.tar.gz
cd '/home/yaroslav/otp_src_17.3'tar -zxf otp_src_17.3.tar.gz
export ERL_TOP= pwd
pwd
sudo apt-get install autoconf libncurses-dev build-essential
sudo apt-get install m4sudo apt-get install unixodbc-devsudo apt-get install libssl-devsudo apt-get -y install libssh-devsudo apt-get install libwxgtk3.0-dev libglu-devsudo apt-get install fop xsltprocsudo apt-get install g++sudo apt-get install default-jdksudo apt-get install xsltproc fop
apt-get -y install build-essential autoconf m4 libncurses5-dev libwxgtk3.0-dev libgl1-mesa- dev libglu1-mesa-dev libpng-dev libssh-dev unixodbc-dev xsltproc fop g++ default-jdk
curl https://www.openssl.org/source/openssl-1.0.2l.tar.gz | tar xz && cd openssl-1.0.2l && sudo ./config && sudo make && sudo make install
./configure --with-ssl='/home/yaroslav/otp_src_17.3/openssl-1.0.2l'sudo makesudo make install
aelbi1ox2#
For installing older versions of Erlang and working with several at the same time I would recommend using kerlIf you need more fancy features you could also head for asdf which has a Erlang plugin (which runs kerl under the hood)
2条答案
按热度按时间wixjitnu1#
For installation Erlang 17.3 on Ubuntu 18 you should do the following things: Enter in the console next command:
wget http://erlang.org/download/otp_src_17.3.tar.gz
cd '/home/yaroslav/otp_src_17.3'
tar -zxf otp_src_17.3.tar.gz
export ERL_TOP=
pwd
sudo apt-get install autoconf libncurses-dev build-essential
sudo apt-get install m4
sudo apt-get install unixodbc-dev
sudo apt-get install libssl-dev
sudo apt-get -y install libssh-dev
sudo apt-get install libwxgtk3.0-dev libglu-dev
sudo apt-get install fop xsltproc
sudo apt-get install g++
sudo apt-get install default-jdk
sudo apt-get install xsltproc fop
apt-get -y install build-essential autoconf m4 libncurses5-dev libwxgtk3.0-dev libgl1-mesa- dev libglu1-mesa-dev libpng-dev libssh-dev unixodbc-dev xsltproc fop g++ default-jdk
curl https://www.openssl.org/source/openssl-1.0.2l.tar.gz | tar xz && cd openssl-1.0.2l && sudo ./config && sudo make && sudo make install
./configure --with-ssl='/home/yaroslav/otp_src_17.3/openssl-1.0.2l'
sudo make
sudo make install
aelbi1ox2#
For installing older versions of Erlang and working with several at the same time I would recommend using kerl
If you need more fancy features you could also head for asdf which has a Erlang plugin (which runs kerl under the hood)