Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
aandrew-me
GitHub Repository: aandrew-me/ytDownloader
Path: blob/main/linux.sh
448 views
1
#!/bin/bash
2
3
# >> Check if curl is installed or nor
4
if ! command -V curl > /dev/null 2>&1; then
5
echo "curl not installed, please install it and try again"
6
exit
7
fi
8
9
wget "https://github.com/aandrew-me/ffmpeg-builds/releases/download/v8/ffmpeg_linux_amd64.tar.xz"
10
wget "https://github.com/aandrew-me/ffmpeg-builds/releases/download/v8/node_linux_amd64" -O node
11
chmod +x node
12
tar -xf ffmpeg_linux_amd64.tar.xz
13
mv ffmpeg_linux_amd64 ffmpeg
14
chmod +x ffmpeg/bin/ffmpeg
15
chmod +x ffmpeg/bin/ffprobe
16
chmod +x ffmpeg/bin/ffplay
17
18
19