es_repo_mgr command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
es_repo_mgr: command not found
or when using sudo you get the following error message
sudo: es_repo_mgr: command not found
Solutions to es_repo_mgr: command not found
How To Fix es_repo_mgr: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu es_repo_mgr is provided by elasticsearch-curator package.
elasticsearch-curator is:
Elasticsearch Curator helps manage Elasticsearch time-series indices. It consists of a Python library and a CLI tool providing a high-level interface to Elasticsearch administration tasks, such as:
- Management of index aliases
- Index optimization
- Changing the replica count
- Modifying the shard/index allocation using routing tags
- Index snapshotting
This package contains the curator and es_repo_mgr command-line tools.
To fix this problem, we can install more using the command below.
sudo apt-get -y install elasticsearch-curator
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install elasticsearch-curator.
sudo apt -y install elasticsearch-curator
Or if you have aptitude installed you can use the following command.
sudo aptitude install elasticsearch-curator
Summary
In this tutorial we learn how to fix es_repo_mgr command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.