On 10/07/2026 18:48, David Niklas wrote:
Hello,
I wanted to install a python pip wheel file globally without breaking my
system packages. I tried searching online, but I cannot figure out how to
do that.
How do you install a .whl file globally in debian without breaking system
packages?
If you only have the wheel file, probably not much you can do. But if
you have the original python repository, you can use "stdeb" to create a
debian package for the library, that way you can specify the dependencies.
Something like "sudo apt install debhelper dh-python python3-stdeb" then
"python3 setup.py --command-packages=stdeb.command bdist_deb".
YMMV.
Thanks!