Hello! I try to install etcdctl
and I’m a little misconfused…
Via apt it’s installed at
which etcdctl
/usr/bin/etcdctl
But as I see in KodeCloud manuals and other resources, they suggest to install etcdctl
that way:
cd /tmp
export RELEASE=$(curl -s https://api.github.com/repos/etcd-io/etcd/releases/latest | grep tag_name | cut -d '"' -f 4)
wget https://github.com/etcd-io/etcd/releases/download/${RELEASE}/etcd-${RELEASE}-linux-amd64.tar.gz
tar xvf etcd-${RELEASE}-linux-amd64.tar.gz ; cd etcd-${RELEASE}-linux-amd64
mv etcd etcdctl /usr/local/bin/
Which difference with installation at /usr/local/bin/
or /usr/bin/etcdctl
?
Upd: I mean that both of the directories exists at the PATH
by default… It’s enough for usage the binary… or I missed something?