summaryrefslogtreecommitdiff
path: root/assets/2026-01-30-yt-dlp-pipx-migration.md
blob: a128baafb00a503cfbab5c5ddb25731f9978d41b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Change yt-dlp installation from pacman to pipx

## Problem

yt-dlp stopped working because the Arch repos were behind upstream. The pacman version was 2025.12.08 while the latest release was 2026.01.29 (7 weeks behind).

yt-dlp updates frequently to keep up with site API changes, so being outdated often causes extraction failures.

## Solution

Install yt-dlp via pipx instead of pacman:

```bash
# Install pipx if not already installed
sudo pacman -S python-pipx

# Install yt-dlp via pipx
pipx install yt-dlp

# Remove the pacman version to avoid PATH conflicts
sudo pacman -R yt-dlp
```

## Updating

To update yt-dlp in the future:

```bash
pipx upgrade yt-dlp
```

This pulls directly from PyPI which stays current with upstream releases.