I installed youtube-dl from the 17.04 package repositories. It currently ships version 2017.03.10
. However, youtube-dl is one of these packages that are updated very frequently (as of writing this post it is version 2017.04.11
) and quite often you actually need to have the latest version for it to work with the latest changes done by YouTube.
For packages that change very frequently — like youtube-dl — what is the preferred and recommended installation method?
pip
.sudo snap install youtube-dl