Skip to content

Instantly share code, notes, and snippets.

@brixmavu
Last active July 5, 2021 23:01
Show Gist options
  • Save brixmavu/53b4db2ef3b91812b63aa71c2400b5f2 to your computer and use it in GitHub Desktop.
Save brixmavu/53b4db2ef3b91812b63aa71c2400b5f2 to your computer and use it in GitHub Desktop.
1. Enable the extra repository on /etc/pacman.conf:
[extra]
Include = /etc/pacman.d/mirrorlist
2. Install python-pip zst package:
sudo pacman -Syu python-pip
3. Upgrade pip theb virtualenv:
sudo pip install --upgrade pip
sudo pip install --upgrade virtualenv
4. Installing youtube-dl with pip and upgrade youtube-dl with pip:
sudo pip install youtube_dl
sudo pip install --upgrade youtube_dl
5. Warning Error and how to resolve it:
5.1 The Warning
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager.
5.2 The command to resolve it:
sudo curl -L https://yt-dl.org/latest/youtube-dl -o /usr/local/bin/youtube-dl
5.3 Then set permissions:
sudo chmod a+rx /usr/local/bin/youtube-dl
6 Installing ffmpeg
sudo pacman -Syu ffmpeg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment