Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I subscribe to supplementary server channel to install sun jdk 6 on RHEL 4.x

I want to install sun jdk 6 on RHEL 4.x using yum install java-1.6.0-sun-devel but found that I have to subscribe to supplementary server channel. How do I do that?

Thanks in Advance!

like image 342
mssrivatsa Avatar asked Apr 24 '12 10:04

mssrivatsa


1 Answers

Add the supplementary channel/repository:

yum-config-manager --enable rhel-6-server-supplementary

Check that the needed package is available and install:

yum list *-sun-devel
yum install java-1.6.0-sun-devel
like image 119
John Mayor Avatar answered Oct 18 '22 00:10

John Mayor