Example of installing elasticsearch-curator on Ubuntu 17.04 LTS using the command sudo apt-get install elasticsearch-curator.
Ads
Quick installation of elasticsearch-curator:
Step 1: Update system:
sudo apt-get update
Step 2: Install: elasticsearch-curator
Ater updaing the OS run following command to install the packae:
sudo apt-get install elasticsearch-curator
Package Details | |
Package: | elasticsearch-curator |
Version: | 4.0.1-2 |
Maintainer: | Ubuntu Developers |
Home page: | https://github.com/elasticsearch/curator |
Description: | command-line tool for managing Elasticsearch time-series indices 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. |
Distro: | Ubuntu 17.04 |
Release: | |
Repo/Section: | universe/python |
First of all update your system with the command:
sudo apt-get update
Ads
Above command will download the package lists for Ubuntu 17.04 on your system. This will update the list of newest versions of packages and its dependencies on your system.
After downloading the latest package list with the help of above you can run the installation process.
If elasticsearch-curator is not installed on your compter then the command 'dpkg -L elasticsearch-curator' will give followin error.
deepak@deepak-VirtualBox:~$ dpkg -L elasticsearch-curator dpkg-query: package 'elasticsearch-curator' is not installed Use dpkg --info (= dpkg-deb --info) to examine archive files, and dpkg --contents (= dpkg-deb --contents) to list their contents. deepak@deepak-VirtualBox:~$
Installing elasticsearch-curator:
After system update use the following command to install elasticsearch-curator:
sudo apt-get install elasticsearch-curator
Above command will confirm before installing the package on your Ubuntu 17.04 Operating System. If you are not already logged in as su, installer will ask you the root password. After completion of the installation you can use the package on your system.
Now we will see the commands for uninstalling the elasticsearch-curator from Ubuntu 17.04. For uninstalling this package you can easily use the apt command and remove the package from Linux Operating System.
To remove the elasticsearch-curator following command is used:
sudo apt-get remove elasticsearch-curator
Following command is used to remove the elasticsearch-curator package along with its dependencies:
sudo apt-get remove --auto-remove elasticsearch-curator
This will remove elasticsearch-curator and all its dependent packages which is no longer needed in the system.
Completely removing elasticsearch-curator with all configuration files:
Following command should be used with care as it deletes all the configuration files and data:
sudo apt-get purge elasticsearch-curator
or you can use following command also:
sudo apt-get purge --auto-remove elasticsearch-curator
Above command will remove all the configuration files and data associated with elasticsearch-curator package. You can can't recover the delete data, so, use this command with care.