From 42cee84c6ed88f8c552774d15e2a1ff0a798f29f Mon Sep 17 00:00:00 2001 From: "lauren n. liberda" Date: Mon, 3 Apr 2023 04:20:46 +0200 Subject: [PATCH] [Installation] Add alpine instructions (#20) --- Installation.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Installation.md b/Installation.md index ba34291..fd47787 100644 --- a/Installation.md +++ b/Installation.md @@ -124,6 +124,30 @@ sudo port selfupdate sudo port upgrade yt-dlp ``` +### [Alpine Linux](https://alpinelinux.org/) + +Make sure you're on the latest version (or edge) - older versions don't receive updates for community repo. + +To install yt-dlp on Alpine Linux: +```sh +doas apk -U add yt-dlp +``` +Or alternatively, without any optional dependencies: +```sh +doas apk -U add yt-dlp-core +``` + +yt-dlp should upgrade with your system. If you want to do that explicitly: +```sh +doas apk -U upgrade yt-dlp +``` + +To uninstall: +```sh +doas apk del yt-dlp +``` + +On [postmarketOS](https://postmarketos.org/) you might have to use `sudo` instead of `doas`. ## Windows