subs command not found

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

Introduction

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

subs: command not found

or when using sudo you get the following error message

sudo: subs: command not found

Solutions to subs: command not found

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

In Ubuntu subs is provided by libsubtitles-perl package.

libsubtitles-perl is:

Movie files can be viewed with subtitles, which are currently very popular as text files. This module provides means for simple loading, re-timing, and storing these subtitle files.

The module supports srt, sub, smi subtitle formats.

A command-line tool `subs’ for manipulation of subtitles files is included in this package.

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

sudo apt-get -y install libsubtitles-perl

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

You can also use apt command to install libsubtitles-perl.

sudo apt -y install libsubtitles-perl

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

sudo aptitude install libsubtitles-perl

Summary

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