sudo apk add --update python3 ffmpeg bash
python3 -m ensurepip --user
python3 -m pip install --upgrade pip setuptools --user
python3 -m pip install --user pipx
python3 -m pipx ensurepath
pipx completions
cat << EOF | sudo tee /etc/profile.d/pipx.sh
eval "\$(register-python-argcomplete pipx)"
EOF
sudo chmod +x /etc/profile.d/pipx.sh
With pipx:
pipx install yt-dlp
pipx install spotdl --download-ffmpeg
pipx list
With pip:
python3 -m pip install -U yt-dlp
python3 -m pip install -U spotdl
Under git-bash or git for windows bash: open terminal with admin rights
python3 -m ensurepip
python3 -m pip install --upgrade pip setuptools
python3 -m pip install pipx
python3 -m pipx ensurepath
pipx completions
pacman -Sy yasm msys2-runtime python-build make python-wheel python-brotli libopenssl libcrypt openssh wget ca-certificates openssl libssh2 --overwrite ""
pacman -Sy gcc mingw-w64-x86_64-pkg-config --overwrite ''
cd ~/Documents/github/
git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg
cd ffmpeg
./configure --disable-debug --disable-doc --enable-static --enable-gpl --disable-w32threads
make -j4
make install