Reputation: 33
I want to download Java version "1.6.0_36" in CentOS. I tried sudo yum install java-1.6.0-openjdk
, but it returned Java version 1.6.0_41. How do I install a specific version?
Can it be downloaded from the terminal directly?
Upvotes: 1
Views: 2560
Reputation: 560
You can install a specific version hosted from CentOS archive server.
elrepo
, to make sure that you will have the latest RPM repository for CentOS.sudo yum update elrepo
sudo yum install https://buildlogs.centos.org/c7.01.u/java-1.6.0-openjdk/20150730180723/1.6.0.36-1.13.8.1.el7_1.x86_64/java-1.6.0-openjdk-1.6.0.36-1.13.8.1.el7_1.x86_64.rpm
Note: This server contains a mix of raw/unsigned packages and/or build logs. It should be used mainly for testing purposes.
Upvotes: 2