charon-cmd command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
charon-cmd: command not found
or when using sudo you get the following error message
sudo: charon-cmd: command not found
Solutions to charon-cmd: command not found
How To Fix charon-cmd: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu charon-cmd is provided by charon-cmd package.
charon-cmd is:
The strongSwan VPN suite uses the native IPsec stack in the standard Linux kernel. It supports both the IKEv1 and IKEv2 protocols.
This package contains the charon-cmd command, which can be used as a client to connect to a remote IKE daemon.
To fix this problem, we can install more using the command below.
sudo apt-get -y install charon-cmd
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install charon-cmd.
sudo apt -y install charon-cmd
Or if you have aptitude installed you can use the following command.
sudo aptitude install charon-cmd
Summary
In this tutorial we learn how to fix charon-cmd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.