Question

How to install FFMPEG?

Hello, I’m new to DO. I was using HEROKU previously. Now, I’m trying to deploy a telegram bot that has yt-dlp dependency along with FFMPEG. How do I install FFMPEG?

Also I was going through some Q/A on google related to “telegram bots on digital ocean”, I came across some questions. Now I want to know how do I keep my droplet running without having to manually run from shell/cli?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

Hi @terminalwarlord,

To install FFMPEG all you need to do is use the following commands:

  1. sudo apt update
  2. sudo apt install ffmpeg

To verify the installation, use the ffmpeg -version command, which prints the FFmpeg version:

  1. ffmpeg -version