3 ms·
Really glad to see this is already packaged for most linux distributions. So many utilities nowadays seem be written in Python, and python apps are such a PITA
by freedomben 3y ago
Really glad to see this is already packaged for most linux distributions. So many utilities nowadays seem be written in Python, and python apps are such a PITA to install without package manager packages. There's so many different ways to do it and everything seems to be a little different. Some will require root and try to install on top of package manager owned locations, which is a nightmare.
Fedora Toolbox has been wonderful for this exact use case (installing Python tools), but for utilities like this that will be part of a bash pipe chain for me, toolbox won't cut it.
- Spivak 3y agoInstalling self-contained programs written in Python not packaged for your distro: PIPX_HOME=/usr/local/pipx PIPX_BIN_DIR=/usr/local/bin pipx install app==1.2.3 It sets up an isolated install for each app with only its deps and makes it transparent. The distro installation tree of Python is for the exclusive use of your distro because core apps cloud-init, dnf, firewalld are built against those versions.
- freedomben 3y agothank you! That's amazingly helpful. I had no idea pipx was a thing For others: https://github.com/pypa/pipx https://github.com/pypa/pipx It's also in the Fedora repos: dnf install -y pipx