Installing Erlang with yum (CentOS)

I am trying to install Erlang on my CentOS 5 64 bit system using yum.

When it is correctly installed, the command "erl" should work.

What did I not do or do wrong?
[user@host]# yum install erlang

Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
addons                    100% |=========================|  951 B    00:00     
extras                    100% |=========================| 1.1 kB    00:00     
base                      100% |=========================| 2.1 kB    00:00     
atomic                    100% |=========================|  951 B    00:00     
updates                   100% |=========================| 1.9 kB    00:00     
Reading repository metadata in from local files
primary.xml.gz            100% |=========================|  201 B    00:00     
primary.xml.gz            100% |=========================| 107 kB    00:00     
################################################## 325/325
primary.xml.gz            100% |=========================| 893 kB    00:00     
################################################## 2535/2535
primary.xml.gz            100% |=========================| 219 kB    00:00     
################################################## 636/636
primary.xml.gz            100% |=========================| 184 kB    00:00     
################################################## 335/335
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Nothing to do

[user@host]# erl
-bash: erl: command not found

Open in new window

LVL 16
hankknightAsked:
Who is Participating?
 
fosiul01Commented:
its saying nothing to do

how do you know its been installed ??

do this

rpm -qa | grep erlang

, past the resutl here
0
 
sardiskanCommented:
I don't think erlang has an RPM that will allow you to use yum to install it. If you want to install erlang, you'll have to install it from source.

This site has a pretty simple process to get erlang installed on centos.

http://onemansjourneyintolinux.blogspot.com/2009/01/installing-erlang.html
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
hankknightAuthor Commented:
rpm -qa | grep erlang returns NOTHING. No errors or anything.
 
 
0
 
fosiul01Commented:
rpm -qa | grep erlang returns NOTHING. No errors or anything.

that meant you did not install that rpm ,

if  it installed by yum you would of see something like this

[root@web var]# yum install erlang
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * addons: centos.mirror.easycolocate.nl
 * base: centos.mirror.easycolocate.nl
 * centosplus: centos.mirror.easycolocate.nl
 * epel: www.mirrorservice.org
 * extras: centos.mirror.easycolocate.nl
 * rpmforge: apt.sw.be
 * updates: ftp.nluug.nl
addons                                                   |  951 B     00:00
base                                                     | 2.1 kB     00:00
centosplus                                               | 1.9 kB     00:00
epel                                                     | 3.4 kB     00:00
extras                                                   | 1.1 kB     00:00
rpmforge                                                 | 1.1 kB     00:00
updates                                                  | 1.9 kB     00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package erlang.i386 0:R12B-5.6.el5.1 set to be updated
--> Processing Dependency: tk for package: erlang
--> Processing Dependency: libodbc.so.1 for package: erlang
--> Running transaction check
---> Package tk.i386 0:8.4.13-5.el5_1.1 set to be updated
---> Package unixODBC.i386 0:2.2.11-7.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package           Arch          Version                    Repository     Size
================================================================================
Installing:
 erlang            i386          R12B-5.6.el5.1             epel           39 M
Installing for dependencies:
 tk                i386          8.4.13-5.el5_1.1           base          888 k
 unixODBC          i386          2.2.11-7.1                 base          832 k

Transaction Summary
================================================================================
Install      3 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 41 MIs this ok [y/N]:



probably you  will have to add some repo to get by yum or have to install source,
if i type
yum install erlang , its actually getting the rpm, that meants, i have extra repo then you
i can sent you some repo, you can try with that.



0
 
hankknightAuthor Commented:
fosiul01, your idea worked! Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.