this post was submitted on 17 Jul 2024
60 points (94.1% liked)
Open Source
31133 readers
283 users here now
All about open source! Feel free to ask questions, and share news, and interesting stuff!
Useful Links
- Open Source Initiative
- Free Software Foundation
- Electronic Frontier Foundation
- Software Freedom Conservancy
- It's FOSS
- Android FOSS Apps Megathread
Rules
- Posts must be relevant to the open source ideology
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
- !libre_culture@lemmy.ml
- !libre_software@lemmy.ml
- !libre_hardware@lemmy.ml
- !linux@lemmy.ml
- !technology@lemmy.ml
Community icon from opensource.org, but we are not affiliated with them.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm a bit critical about teaching how a certain application is installed on Linux. Especially because this is aiming towards beginners who may not be familiar with how software is installed and managed on Linux. And in such a case, just providing the command for one certain type of package manager could be harmful, because all other common systems are left out.
If Python3 is not installed on your distribution, then I would not blindly recommend people to install it (if its available). Because changing the systems Python can cause serious issues. There is a reason why its not installed, if its not. I would recommend to install yt-dlp from your distributions package manager, if its maintained and always up to date. In example it is in the Arch repositories and can be installed with
pacman -S yt-dlp
and is always up to date. In that case you don't need to install or change Python or Pip and do not need to configure your PATH anymore. It's painless. And it gets automatically updated with your system.yt-dlp offers lot of functionality other than simply downloding, but its complicated in my opinion. Shamelessly I want to recommend into looking my own Bash script on Linux, to make the commandline usage of yt-dlp easier: https://github.com/thingsiplay/yt-dlp-lemon
The "always up to date" seems to be the issue with yt-dlp in most distros (except maybe Arch-based stuff?). Installing through PIP also gives you the option of using the official nightly repo if the need arises.