solved ERROR You installed yt-dlp from a manual build or with a package manager
So, you have forgotten how you installed yt-dlp?
❯ yt-dlp -U
Current version: stable@2025.06.25 from yt-dlp/yt-dlp
Latest version: stable@2025.06.30 from yt-dlp/yt-dlp
ERROR: You installed yt-dlp from a manual build or with a package manager; Use that to update
How do I upgrade? which yt-dlp should give you some idea:
~/.local 13:43
❯ which yt-dlp
/usr/bin/yt-dlp
Installation used was by yt-dlp latest release for Linux
…/yt-dlp/yt-dlp/releases 13:55
❯ ls -al
-rw-r--r--. 1 Jul 10 13:06 yt-dlp_linux
Note: maybe is better just to use chmod a+rx yt-dlp_linux, renamed as yt-dlp and then move it to /usr/bin. 😀 …/yt-dlp/yt-lp/releases 13:55
❯ sudo mv yt-dlp_linux /usr/bin
…/yt-dlp/yt-dlp/releases 13:56
❯ ls
…/yt-dlp/yt-dlp/releases 13:56
❯ cd /usr/bin
❯ ls yt*
yt-dlp yt-dlp_linux
/usr/bin 13:57
❯ sudo cp yt-dlp_linux yt-dlp
Ups!
/usr/bin 13:57
❯ ls -al yt*
-rwxr-xr-x. 1 root root 36380104 Jul 10 13:57 yt-dlp
-rw-r--r--. 1 36380104 Jul 10 13:06 yt-dlp_linux
/usr/bin 13:59
❯ sudo rm yt-dlp_linux
/usr/bin 14:00
❯ yt-dlp -U
Latest version: stable@2025.06.30 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2025.06.30 from yt-dlp/yt-dlp)
Comments
Post a Comment
Under your writing