How to install *latest* yt-dlp on Ubuntu Server 24.04.1 LTS?

Colin Watson cjwatson at ubuntu.com
Tue Feb 11 19:08:14 UTC 2025


On Mon, Feb 10, 2025 at 08:51:28PM +0100, Bo Berglund wrote:
> 3) python3 -m pip install -U "yt-dlp[default]"
>    error: externally-managed-environment
>    plus a long block of text:

Don't use pip directly like that.  If you want to install applications
from PyPI:

  sudo apt install pipx
  pipx ensurepath  # this will edit your shell config, e.g. ~/.bashrc
  # now open a new terminal or log out/in
  pipx install yt-dlp

See https://pipx.pypa.io/stable/ for further documentation.

-- 
Colin Watson (he/him)                              [cjwatson at ubuntu.com]



More information about the ubuntu-users mailing list