vpnc-disconnect command not found

In this troubleshooting guide we learn how to fix vpnc-disconnect command not found error message

Introduction

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

vpnc-disconnect: command not found

or when using sudo you get the following error message

sudo: vpnc-disconnect: command not found

Solutions to vpnc-disconnect: command not found

How To Fix vpnc-disconnect: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu vpnc-disconnect is provided by vpnc package.

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.

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

sudo apt-get -y install vpnc

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

You can also use apt command to install vpnc.

sudo apt -y install vpnc

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

sudo aptitude install vpnc

Summary

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