iked command not found

In this troubleshooting guide we learn how to fix iked command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

iked: command not found

or when using sudo you get the following error message

sudo: iked: command not found

Solutions to iked: command not found

How To Fix iked: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu iked is provided by openiked package.

openiked is:

A free implementation of the Internet Key Exchange (IKEv2) protocol which performs mutual authentication and which establishes and maintains IPsec VPN security policies and associations (SAs) between peers. It is intended to be a lean, clean, secure, better configurable and interoperable implementation that focusses on supporting the main standards and most important features of IKEv2.

To fix this problem, we can install more using the command below.

sudo apt-get -y install openiked

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install openiked.

sudo apt -y install openiked

Or if you have aptitude installed you can use the following command.

sudo aptitude install openiked

Summary

In this tutorial we learn how to fix iked command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.