Add Elasticsearch Repo Debian
Hi! The Tip shows you How to Install Elasticsearch Repository Debian-Based GNU/Linux Systems.
And this Elasticsearch Debian Repo is valid also for:
- Deepin
- Parsix
- antiX
- MX Linux
- CrunchBang
- Parrot
- LMDE
- Linux Lite
- SparkyLinux
- MakuluLinux
- Elive
(You need only find the Corresponding Debian Parent Release.)
-
Open a Shell session
(Press “Enter” to Execute Commands) -
First, Import Elasticsearch GPG Key.
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
(For the Newer Release in case of apt-key Issue see: Gpg.d Keyring Setup Guide.)
-
Next Install Secure Apt Layer.
sudo apt install apt-transport-https
-
Then Add Elasticsearch Repository.
echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-6.x.list
If Got “User is Not in Sudoers file” then see: How to Enable sudo
-
Finally, Refresh Apt Repositories.
sudo apt update
-
How to Install Elasticsearch on Debian-based Systems