I was just about to try to compile btop with cmake, which gave me some errors about python. which cmake returned ~/.local/bin/cmake which made me curious. After listing ~/.local/bin I found several files there, which all have a similar script within them. from import main

#!/usr/bin/python3.11
# -*- coding: utf-8 -*-
import re
import sys
from cmake import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())

Have I caught some sort of malware/virus? Are these save to remove? I know that pip installs --user binaries into ~/.local/bin, but after inspecting it, there are just these

pip list --user
Package      Version
------------ -------
configparser 6.0.0
protonup     0.1.5
razer-cli    2.2.0

The files in quesiton: isympy protonup razer-cli poetry keyring pyproject-build doesitcache jsonschema virtualenv dulwich pkginfo qmk milc-color hjson pyserial-ports pyserial-miniterm torchrun convert-onnx-to-caffe2 convert-caffe2-to-onnx wheel ctest cpack cmake lit lpython jc blackd black ttx pyftsubset pyftmerge fonttools autopep8 pycodestyle bluetooth_battery vpn-slice

  • Krafting@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    11 months ago

    Seems like normal python packages for me, probably dependencies of other installed packages!