Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Installing YouTube-DL on WSL2 Arch Linux

# 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
Comment

PREVIOUS NEXT
Code Example
Shell :: snapshot ubuntu shotcut key 
Shell :: tarball -list 
Shell :: installing heroku for deployment through command line 
Shell :: view git pull changes terminal 
Shell :: Subshells 
Shell :: unrar into directory 
Shell :: mac os tild operator 
Shell :: sslh configuration kali linux 
Shell :: ubuntu mouse lost focus 
Shell :: apache terminal count files in folder 
Shell :: powershell auto clicker script 
Shell :: wget raw to file 
Shell :: png to jpg linux command line 
Shell :: how to clone repo with all branches 
Shell :: git stash apply specific file 
Shell :: install lua in ubuntu 
Shell :: create local git branch from remote 
Shell :: powershell merge csv files 
Shell :: command to change user username 
Shell :: shortcut key for screenshot in windows 7 
Shell :: bash timeout 
Shell :: install unifi controller raspberry pi 
Shell :: how to install brave browser on manjaro 
Shell :: grep command 
Shell :: list directory xargs linux 
Shell :: python-swiftclient 3.5.0 uninstall ubuntu 
Php :: tinker not colorful 
Php :: php file exist 
Php :: make specific migration laravel 
Php :: how to migrate a specific table in laravel 
ADD CONTENT
Topic
Content
Source link
Name
9+1 =