vpncmd command not found

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

Introduction

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

vpncmd: command not found

or when using sudo you get the following error message

sudo: vpncmd: command not found

Solutions to vpncmd: command not found

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

In Ubuntu vpncmd is provided by softether-vpncmd package.

softether-vpncmd is:

SoftEther is an open-source cross-platform multi-protocol VPN program.

SoftEther supports:

  • SSL-VPN, OpenVPN, IPsec, L2TP, MS-SSTP, L2TPv3, EtherIP
  • VPN over ICMP and VPN over DNS
  • Ethernet-bridging (L2) and IP-routing (L3) over VPN
  • Embedded dynamic DNS and NAT traversal
  • AES 256-bit and RSA 4096-bit encryption
  • RADIUS and NT domain user authentication
  • X.509 client certificates
  • Packet logging
  • Web GUI

This package ships the command-line tools used to control SoftEther.

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

sudo apt-get -y install softether-vpncmd

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

You can also use apt command to install softether-vpncmd.

sudo apt -y install softether-vpncmd

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

sudo aptitude install softether-vpncmd

Summary

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