The Linux Thread - The Autist's OS of Choice

It's the official github. Am I supposed to be worried that they uploaded a fucking virus to it or something?
There's generally very little reason to escalate any kind of software installation that you do outside of your package manager all the way to root. The example given in the instructions even uses a user-specific directory (~/.local/bin). Virus or not, it's best to be careful. Another point of concern would be the jeetification of the installer you're downloading, but it's inapplicable in this case because it's a single file download. Here's a decade old example of what I mean, from a company I happen to enjoy ayylawging:
rm -rf "$STEAMROOT/"* could be evaluated as rm -rf "/"* if $STEAMROOT is empty
 
There's generally very little reason to escalate any kind of software installation that you do outside of your package manager all the way to root. The example given in the instructions even uses a user-specific directory (~/.local/bin). Virus or not, it's best to be careful. Another point of concern would be the jeetification of the installer you're downloading, but it's inapplicable in this case because it's a single file download. Here's a decade old example of what I mean, from a company I happen to enjoy ayylawging:
Why would the leave the / on the end???

Hopefully they were at least somehow checking it with an if statement. Or a few.
 
Gentoo's packages track it quite rapidly, day or two off, IIRC. But this pipx, you recommend it? I imagine it handles upgrades less retardedly than pip?
pipx is a way to get python packages for use in CLI/scripting
It creates isolated environments per, and it allows you to avoid polluting your system python installation, but without needing a conda environment, or needing to activate it.
The caveat is that these libraries aren't really available as libraries, but rather CLI tools
It's my preferred way of installing stuff like black or mypy.

It's also useful for testing python based CLI utilities, as you can just install from the built wheel as needed.
 
Really, is:
Code:
python3 -m venv yt-dlp
# Module venv not found.
# Fuck
sudo apt install python3-venv
python3 -m venv yt-dlp
cd yt-dlp
. ./bin/activate
pip install yt-dlp
Really so hard?
obviously you can also replace pip install yt-dlp with git clone https://github.com/yt-dlp/yt-dlp.git ; cd yt-dlp ; pip install . and there are a few other modules you might want.
 
Back