#!/bin/bash # Update package list apt-get update # Install software-properties-common to manage repositories apt-get install -y software-properties-common # Add the repository for ffmpeg add-apt-repository -y ppa:jonathonf/ffmpeg-4 # Update package list again after adding the repository apt-get update # Install ffmpeg apt-get install -y ffmpeg # Install python3-pip apt-get install -y python3-pip # Install yt-dlp pip3 install -U yt-dlp echo "Installation of ffmpeg and yt-dlp completed."