Elasticsearch and deb repository (specific version?)


In the documentation we can find information:

Save the repository definition to /etc/apt/sources.list.d/elastic-7.x.list :

echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list

However, this is information for the current version (7.x).

Is it possible to install a specific version of elasticsearch from repo (deb: Ubuntu / Debian)? (for example, when I need 7.5.0 or 7.5.1?)

yes, each package manager has options to install a certain version.

IIRC for apt it is apt-get install elasticsearch=X.Y.Z

hope this helps.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.