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?
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!
Accepted Answer
Hi @terminalwarlord,
To install FFMPEG all you need to do is use the following commands:
- sudo apt update
- sudo apt install ffmpeg
To verify the installation, use the ffmpeg -version command, which prints the FFmpeg version:
- ffmpeg -version
sudo snap install ffmpeg sudo snap connect ffmpeg:home snap connections | grep ffmpeg
sudo snap install ffmpeg sudo snap connect ffmpeg:home snap connections | grep ffmpeg
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.