Downloading, installing and upgrading Youtube-dl on Ubuntu 20.04
Youtube-dl is a command-line program to download Youtube videos in a variety of formats. Youtube-dl is designed to handle archive type tasks such as whole channel or playlist downloads.
Firstly update package information with
sudo apt-get update
Download Youtube-dl using curl and move it to the usr bin folder as a program
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
Alter the permissions (read and execute)
sudo chmod a+rx /usr/local/bin/youtube-dl
Install the Python 3 pip package which is used to upgrade Youtube-dl:
sudo apt install python3-pip
When the time comes to upgrade Youtube-dl use:
pip3 install --upgrade youtube-dl
Using Youtube-dl is done by calling followed by the options and URL
youtube-dl [OPTIONS] [URL]
A drained and empty Kennington reservoir images from a drone in early July 2024. The…
Merrimu Reservoir from drone. Click images to view larger.
Some early September spring shots from a bushwalk, It is still too early for wildflowers.
I recently needed to clone over a smaller NVMe to a 2TB SK Hynix Platinum…
If you ever needed a simple solution in Laravel to delete an entire directory and…
How to enforce only one user to register or be registered in a Laravel web…