webvtt command not found

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

Introduction

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

webvtt: command not found

or when using sudo you get the following error message

sudo: webvtt: command not found

Solutions to webvtt: command not found

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

In Ubuntu webvtt is provided by webvtt package.

webvtt is:

Python module for reading/writing WebVTT caption files. It also features caption segmentation useful when captioning HLS videos.

Converting captions from other formats is supported for:

  • SubRip (.srt)
  • YouTube SBV (.sbv)

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

sudo apt-get -y install webvtt

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

You can also use apt command to install webvtt.

sudo apt -y install webvtt

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

sudo aptitude install webvtt

Summary

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