This article provides instructions on how to install yt-dlp, a Python-based command-line tool used to download videos and audio from YouTube and other websites. The main argument discussed is that installing yt-dlp is easy using pre-compiled binaries
One of the easiest ways to install yt-dlp is to use the pre-compiled binaries provided for various operating systems. Here are the steps to install yt-dlp using pre-compiled binaries:
For Linux:
Make the binary executable using the following command:
sudo chmod +x yt-dlp
Move the binary to the system's/usr/local/bin
directory:/usr/local/bin
directory:
sudo mv yt-dlp /usr/local/bin
For macOS:
Move the binary to the system's/usr/local/bin
sudo mv yt-dlp /usr/local/bin
For macOS:
/usr/local/bin
directory:yt-dlp
[Installing on Linux](https://github.com/yt-dlp/yt-dlp/wiki/Installation#linux)
The above is the detailed content of how to install yt-dlp. For more information, please follow other related articles on the PHP Chinese website!