The Wayback Machine - https://web.archive.org/web/20231028173128/https://www.geeksforgeeks.org/how-to-install-ffmpeg-in-linux/
Open In App
Related Articles

How to Install FFmpeg in Linux?

Improve Article
Improve
Save Article
Save
Like Article
Like

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.

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 06 Oct, 2021
Like Article
Save Article
Similar Reads
Related Tutorials