vm command not found

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

Introduction

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

vm: command not found

or when using sudo you get the following error message

sudo: vm: command not found

Solutions to vm: command not found

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

In Ubuntu vm is provided by mgetty-voice package.

mgetty-voice is:

Vgetty allows you to add answering machine / voicemail capability to all the other normal mgetty functions.

The program ‘mgetty’ allows you to use a voice modem as an answering machine and handling external logins without interfering with outgoing calls.

To create and manipulate voice messages, you need the mgetty-pvftools package.

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

sudo apt-get -y install mgetty-voice

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

You can also use apt command to install mgetty-voice.

sudo apt -y install mgetty-voice

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

sudo aptitude install mgetty-voice

Summary

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