?
Solved

Installing Erlang with yum (CentOS)

Posted on 2009-12-18
6
Medium Priority
?
7,451 Views
Last Modified: 2013-12-16
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

0
Comment
Question by:hankknight
  • 3
  • 2
6 Comments
 
LVL 29

Expert Comment

by:fosiul01
ID: 26079660
its saying nothing to do

how do you know its been installed ??

do this

rpm -qa | grep erlang

, past the resutl here
0
 
LVL 5

Expert Comment

by:sardiskan
ID: 26080594
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
 
LVL 16

Author Comment

by:hankknight
ID: 26082190
rpm -qa | grep erlang returns NOTHING. No errors or anything.
 
 
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 29

Expert Comment

by:fosiul01
ID: 26082370
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
 
LVL 29

Accepted Solution

by:
fosiul01 earned 2000 total points
ID: 26082442
0
 
LVL 16

Author Comment

by:hankknight
ID: 26092234
fosiul01, your idea worked! Thanks.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Often times it's very very easy to extend a volume on a Linux instance in AWS, but impossible to shrink it. I wanted to contribute to the experts-exchange community a way of providing a procedure that works on an AWS instance. It can also be used on…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month15 days, 12 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question