etcd command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
etcd: command not found
or when using sudo you get the following error message
sudo: etcd: command not found
Solutions to etcd: command not found
How To Fix etcd: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu etcd is provided by etcd-server package.
etcd-server is:
A highly-available key value store for shared configuration and service discovery. etcd is inspired by zookeeper and doozer, with a focus on:
- Simple: curl’able user facing API (HTTP+JSON)
- Secure: optional SSL client cert authentication
- Fast: benchmarked 1000s of writes/s per instance
- Reliable: Properly distributed using Raft
Etcd uses the Raft consensus algorithm to manage a highly-available replicated log.
This package contains the server binaries.
To fix this problem, we can install more using the command below.
sudo apt-get -y install etcd-server
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install etcd-server.
sudo apt -y install etcd-server
Or if you have aptitude installed you can use the following command.
sudo aptitude install etcd-server
Summary
In this tutorial we learn how to fix etcd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.