Skip to content
Related Articles

Related Articles

Improve Article

How to Install FFmpeg in Linux?

  • Difficulty Level : Basic
  • Last Updated : 19 Feb, 2021

FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge. No matter if they were designed by some standards committee, the community, or a corporation.

Now let’s get straight to installation on our Linux device.

Step 1: Open Terminal On Your Linux Device.

You can open a terminal on your Linux device by pressing ctrl+alt+T.

How to Install FFmpeg in Linux

This is how the terminal looks like.

Step 2: Enter the installation command.



To install the tools run these commands into the terminal.

sudo apt install ffmpeg
How to Install FFmpeg in Linux

Entering the installation command.

Step 3: Press Y to continue.

Let it read all the packages and then press Y when it asks Y or n and then press Enter.

How to Install FFmpeg in Linux

It is asking for permission to install ffmped,enter Y and Press Enter.

Step 4: Wait For it to complete the installation.

After the installation is complete we will get the same screen that we got upon opening the terminal for the first time.

How to Install FFmpeg in Linux

Installation Complete.

Step 5: Checking if the installation is done successfully.

 It shows the installed version of ffmpeg then it means the installation is completed successfully. If it shows an error then repeat the steps from the beginning.

ffmpeg -version
How to Install FFmpeg in Linux

Checking if the installation is done successfully or not.

My Personal Notes arrow_drop_up
Recommended Articles
Page :