How to Add Elasticsearch Repository Ubuntu

January 17, 2018 | By the+gnu+linux+evangelist.

Add Elasticsearch Repo Ubuntu




Hi! The Tip shows you How to Install Elasticsearch Repository Ubuntu-Based GNU/Linux Systems.

And this Elasticsearch Ubuntu PPA is valid also for:

  • Linux Mint
  • Lubuntu
  • Kubuntu
  • Xubuntu
  • Zorin OS
  • Elementary OS
  • Linux Lite
  • Bodhi Linux
  • Kde Neon
  • Pop!_OS
  • Voyager
  • Trisquel
  • LXLE
  • feren OS
  • Peppermint
  • Q4OS
  • Linux Ultimate Edition
  • (Possibly search on Google what’s the corresponding Ubuntu Parent Release.)

How to Add Elasticsearch Repository Ubuntu - Featured



  1. Open a Terminal Shell session
    Ctrl+Alt+t on Ubuntu Desktop
    (Press “Enter” to Execute Commands)

    How to Add Elasticsearch Repository Ubuntu - Open Terminal Shell Emulator
  2. 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.)

  3. Next Install Secure Apt Layer.

    sudo apt install apt-transport-https
    
  4. 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




  5. Finally, Refresh Apt Repositories.

    sudo apt update
  6. How to Install Elasticsearch on Ubuntu-based Systems

    Elasticsearch Installation Guide

QuickChic Theme • Powered by WordPress