lavtrans command not found

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

Introduction

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

lavtrans: command not found

or when using sudo you get the following error message

sudo: lavtrans: command not found

Solutions to lavtrans: command not found

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

In Ubuntu lavtrans is provided by mjpegtools package.

mjpegtools is:

The mjpeg programs are a set of tools that can do recording of videos and playback, simple cut-and-paste editing and the MPEG compression of audio and video under Linux.

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

sudo apt-get -y install mjpegtools

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

You can also use apt command to install mjpegtools.

sudo apt -y install mjpegtools

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

sudo aptitude install mjpegtools

Summary

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