How to Install FFmpeg on Linux Mint 21 or 20

Navigating multimedia processing tasks on Linux Mint? FFmpeg is a powerful tool that offers a comprehensive solution for handling audio and video data. This guide will focus on how to install FFmpeg on Linux Mint 21 or its older stable release, Linux Mint 20, to unlock a wide range of multimedia capabilities.

Why Choose FFmpeg?

  • Versatility: FFmpeg can handle everything from decoding and encoding to streaming, covering a broad spectrum of multimedia needs.
  • Format Support: With FFmpeg, you’re not limited by file formats. It supports a wide variety, ensuring maximum compatibility.
  • Quality: FFmpeg is designed to deliver high-quality output, balancing quality and file size for optimal results.
  • Open Source: Being open-source software, FFmpeg invites contributions and customizations from developers worldwide.


  • Learning Curve: FFmpeg has numerous options and commands, requiring some time to master.
  • Command Line: The tool is command-line-based, which might be challenging for those unfamiliar with terminal operations.

By following this guide, you’ll learn how to install FFmpeg on Linux Mint, opening up new possibilities for multimedia processing on your system. Stay tuned for the detailed steps ahead.

Step 1: Update Linux Mint Before FFMpeg Installation on Linux Mint

Before we begin, ensuring your system is updated is crucial. The act of updating your system ensures that all the packages and their dependencies are current and compatible with each other. This decreases the chances of encountering conflicts and software breakdowns down the line.

To update your Linux Mint, you’d execute the following commands in the terminal:

sudo apt update 
sudo apt upgrade

The command sudo apt update updates the list of available packages and their versions but does not install or upgrade any packages. The command sudo apt upgrade actually installs newer versions of the packages you have.

Step 2: Install FFmpeg on Linux Mint 21 or 20

Once the update is completed successfully, you can proceed with installing FFmpeg. The installation is straightforward with Linux Mint’s Advanced Packaging Tool (APT).

To install FFmpeg on Linux Mint, run the following command in the terminal:

sudo apt install ffmpeg

Here, the sudo keyword enables you to execute the command as a superuser, granting you the necessary permissions to install software on the system. The apt install part signifies that you want to install a package using APT, and ffmpeg is the package that you’re installing.

Upon successful execution of this command, FFmpeg should be installed and ready for use on your Linux Mint system. To verify the installation and get the version of FFmpeg you’ve installed, run:

ffmpeg -version

Conclusion and Final Thoughts

This guide has walked you through installing FFmpeg on Linux Mint 21/20, elucidating each step precisely and comprehensively. We delved into the installation through the APT default repository. It is essential to keep your system updated and to take preventative measures, such as backing up your system, before making significant changes.

Although the steps outlined here are robust and tested, adapting and adjusting based on your specific system requirements and configurations is always essential. FFmpeg is a powerful tool that will open new avenues in multimedia manipulation.