How To Install ike on Ubuntu 18.04

In this tutorial we learn how to install ike on Ubuntu 18.04. ike is Shrew Soft VPN client - Daemon and libraries

Introduction

In this tutorial we learn how to install ike on Ubuntu 18.04.

What is ike

ike is:

The Shrew Soft VPN client is a free IPsec VPN Client for FreeBSD, NetBSD, Linux and Windows operating systems. This product can be used to communicate with Open Source VPN servers (e.g. ipsec-tools) as well as some commercial VPN servers.

This package provides a IKEv1 (ipsec key exchange) daemon and libraries used to maintain a IPSec VPN connection. It provides similar functionality as racoon, OpenSwan, FreeSwan, StrongSwan, IsaKmpD but is more user-interactive.

Note: You should install the ike-qtgui package to have a graphical user interface to configure and use VPN connections.

There are three methods to install ike on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install ike Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install ike using apt-get by running the following command:

sudo apt-get -y install ike

Install ike Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ike using apt by running the following command:

sudo apt -y install ike

Install ike Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install ike using aptitude by running the following command:

sudo aptitude -y install ike

How To Uninstall ike on Ubuntu 18.04

To uninstall only the ike package we can use the following command:

sudo apt-get remove ike

Uninstall ike And Its Dependencies

To uninstall ike and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove ike

Remove ike Configurations and Data

To remove ike configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge ike

Remove ike configuration, data, and all of its dependencies

We can use the following command to remove ike configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ike

References

Summary

In this tutorial we learn how to install ike package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.