[root@abcdef install]# yum install erlang
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: centos.mbni.med.umich.edu
* extras: mirror.linux.duke.edu
* updates: mirror.linux.duke.edu
Setting up Install Process
No package erlang available.
Error: Nothing to do
If you are getting these errors mean you don't have RHEL EPEL Repo updated to fetch Erlang builds. So you will need to update your repo.
CentOS 5.x :
wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
sudo rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm
Now You can try installing Erlang with command below
# yum install -y erlang
On Centos/7 do the following:
ReplyDeletesudo wget https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-6.noarch.rpm
and
sudo wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
then
sudo rpm -Uvh remi-release-7*.rpm epel-release-7*.rpm
Thanks...
Delete