How to download from YouTube Videos and Shorts on Linux

To download YouTube Shorts on Arch linux (an Arch-based Linux distro), you can use tools like yt-dlp, which is a powerful command-line program for downloading videos from YouTube and other sites.

check how to download with other distros:

https://github.com/yt-dlp/yt-dlp

Here’s how you can do it:

Step 1: Install yt-dlp

You can install yt-dlp from the Arch repositories (via pacman) or from the AUR.

Option 1: From community repo (preferred):

sudo pacman -S yt-dlp

Option 2: From AUR :
If is available via pacman, but you can install it via an AUR helper like yay:

yay -S yt-dlp

Step 2: Download a YouTube Short

Once installed, use the following command to download a YouTube Short:

yt-dlp <YouTube_Short_URL>

Example:

yt-dlp https://youtube.com/shorts/abc123XYZ

This will download the video in the best available format.

Optional: Choose format or audio-only

Download audio only:

yt-dlp -x --audio-format mp3 https://youtube.com/shorts/abc123XYZ

Keep it Updated (recommended)

yt-dlp updates frequently to keep up with YouTube’s changes. Update it via:

sudo yt-dlp -U

Or, if installed via yay:

yay -Syu yt-dlp

that’s this, goos luck

Mohammed Chami
Mohammed Chami
Articles: 45

Leave a Reply

Your email address will not be published. Required fields are marked *