Can not find Elasticsearch 7.9 with RPM/yum

Hello, everyone.

I am trying to Install the Elasticsearch v7.9.3 with yum. I followed the steps described in Install Elasticsearch with RPM | Elasticsearch Guide [7.9] | Elastic but It installs version 7.17.

When I change the baseurl in elasticsearch.repo to point to https://artifacts.elastic.co/packages/oss-7.9/yum it returns a 404 not found error.

How can I install this specific version (7.9.3) in CentOS using yum?

Thanks in advance

Elasticsearch 7.9 is EOL and no longer supported. Please upgrade ASAP.

(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns :elasticheart: )

Hi Leonardo,
you can download the specific RPM package directly by using:

wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.9.3-x86_64.rpm

Otherwise yum will always install the newest package under 7.x, unless you tell it to install a specific package version: Step-by-Step: YUM install specific version of Package | GoLinuxCloud

Thank you for your super fast answer @Ugo_Sangiorgi ! I really appreciate that.

1 Like