Last active
July 5, 2021 23:01
-
-
Save brixmavu/53b4db2ef3b91812b63aa71c2400b5f2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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