How To Install vpnc on Kali Linux

In this tutorial we learn how to install vpnc on Kali Linux. vpnc is Cisco-compatible VPN client

Introduction

In this tutorial we learn how to install vpnc on Kali Linux.

What is vpnc

vpnc is:

vpnc is a VPN client compatible with cisco3000 VPN Concentrator (also known as Cisco’s EasyVPN equipment). vpnc runs entirely in userspace and does not require kernel modules except for the tun driver to communicate with the network layer.

It supports most of the features needed to establish connection to the VPN concentrator: MD5 and SHA1 hashes, 3DES and AES ciphers, PFS and various IKE DH group settings.

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

Install vpnc Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install vpnc

Install vpnc Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install vpnc

Install vpnc Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install vpnc

How To Uninstall vpnc on Kali Linux

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

sudo apt-get remove vpnc

Uninstall vpnc And Its Dependencies

To uninstall vpnc and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove vpnc

Remove vpnc Configurations and Data

To remove vpnc configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge vpnc

Remove vpnc configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge vpnc

Dependencies

vpnc have the following dependencies:

References

Summary

In this tutorial we learn how to install vpnc package on Kali Linux using different package management tools: apt, apt-get and aptitude.