cfourcc command not found

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

Introduction

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

cfourcc: command not found

or when using sudo you get the following error message

sudo: cfourcc: command not found

Solutions to cfourcc: command not found

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

In Ubuntu cfourcc is provided by cfourcc package.

cfourcc is:

Identifies the codec used in AVI files (*.avi) and allows the user to change the FourCC description code (like fourcc-changer in Windows). Useful for people working with Microsoft AVI file. A Linux clone of AviC fourcc changer tool.

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

sudo apt-get -y install cfourcc

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

You can also use apt command to install cfourcc.

sudo apt -y install cfourcc

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

sudo aptitude install cfourcc

Summary

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