etcdctl command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
etcdctl: command not found
or when using sudo you get the following error message
sudo: etcdctl: command not found
Solutions to etcdctl: command not found
How To Fix etcdctl: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu etcdctl is provided by etcd-client package.
etcd-client 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 client binaries.
To fix this problem, we can install more using the command below.
sudo apt-get -y install etcd-client
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install etcd-client.
sudo apt -y install etcd-client
Or if you have aptitude installed you can use the following command.
sudo aptitude install etcd-client
Summary
In this tutorial we learn how to fix etcdctl command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.