VT-PR/install.sh
2025-04-29 15:32:44 +05:30

25 lines
778 B
Bash

git clone -b dev --single-branch https://github.com/chu23465/VT-PR
cd VT-PR
python -m pip install poetry==1.8.5
poetry config virtualenvs.in-project true
poetry lock --no-update
poetry install
sudo add-apt-repository ppa:ubuntuhandbook1/apps -y
sudo apt update
sudo apt-get install ffmpeg aria2 mkvtoolnix libmediainfo0v5
ffmpeg --version
ffprobe --version
ffplay --version
aria2c --version
mkvmerge --version
rm -r ./binaries/
mkdir ./binaries/
mv -v ./linux_binaries/* ./binaries/
which aria2c | xargs -I{} cp {} ./binaries/
which ffmpeg | xargs -I{} cp {} ./binaries/
which ffprobe | xargs -I{} cp {} ./binaries/
which ffplay | xargs -I{} cp {} ./binaries/
which mkvmerge | xargs -I{} cp {} ./binaries/
cd ./binaries/
find . -type f -print0 | xargs -0 chmod +x
chmod +x *