Open In App

How to Install FFmpeg in Linux?

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.



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

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.

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.

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

Checking if the installation is done successfully or not.

Article Tags :