20 December 2013 Engineering

Announcing DEB and RPM Repositories

By Richard Pijnenburg

We are happy to announce that the frequently requested DEB and RPM repositories are now available.

Due to big differences between major versions, we have decided to setup different repository URLs for each major version. We wanted to make this process simple and make sure you don’t accidentally upgrade between major versions and break stuff. But don’t forget to check the changelog of new versions before installing them.

Public key

Our public key can be found here.

For Debian/Ubuntu systems you can do the following:

wget -O - http://packages.elasticsearch.org/GPG-KEY-elasticsearch | apt-key add -

For CentOS/Red Hat systems:

rpm --import http://packages.elasticsearch.org/GPG-KEY-elasticsearch

Repositories

On APT based systems add the following to your sources.list for using the repositories:

Elasticsearch 0.90.x:

deb http://packages.elasticsearch.org/elasticsearch/0.90/debian stable main

Elasticsearch 1.0.x:

deb http://packages.elasticsearch.org/elasticsearch/1.0/debian stable main

Logstash 1.2.x:

deb http://packages.elasticsearch.org/logstash/1.2/debian stable main

Logstash 1.3.x:

deb http://packages.elasticsearch.org/logstash/1.3/debian stable main

Run apt-get update and you will be able to use the repositories

Even though the distribution is specified as stable in the sources.list, you should be able to install the debian packages on any distribution.

On YUM based systems add these to your /etc/yum.repos.d/ directory:

Elasticsearch 0.90.x:

[elasticsearch-0.90]
name=Elasticsearch repository for 0.90.x packages
baseurl=http://packages.elasticsearch.org/elasticsearch/0.90/centos
gpgcheck=1
gpgkey=http://packages.elasticsearch.org/GPG-KEY-elasticsearch
enabled=1

Elasticsearch 1.0.x:

[elasticsearch-1.0]
name=Elasticsearch repository for 1.0.x packages
baseurl=http://packages.elasticsearch.org/elasticsearch/1.0/centos
gpgcheck=1
gpgkey=http://packages.elasticsearch.org/GPG-KEY-elasticsearch
enabled=1

Logstash 1.2.x:

[logstash-1.2]
name=logstash repository for 1.2.x packages
baseurl=http://packages.elasticsearch.org/logstash/1.2/centos
gpgcheck=1
gpgkey=http://packages.elasticsearch.org/GPG-KEY-elasticsearch
enabled=1

Logstash 1.3.x:

[logstash-1.3]
name=logstash repository for 1.3.x packages
baseurl=http://packages.elasticsearch.org/logstash/1.3/centos
gpgcheck=1
gpgkey=http://packages.elasticsearch.org/GPG-KEY-elasticsearch
enabled=1

For more information on setting up Elasticsearch, take a look at our setup documentation

Got feedback about our repositories? Let us know via Twitter, Google Groups or Github