this post was submitted on 13 Dec 2023
5 points (100.0% liked)

Linux 101 stuff. Questions are encouraged, noobs are welcome!

1009 readers
1 users here now

Linux introductions, tips and tutorials. Questions are encouraged. Any distro, any platform! Explicitly noob-friendly.

founded 1 year ago
MODERATORS
 

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

top 3 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 8 months ago (1 children)

Could you give us the name of those files?

[–] [email protected] 1 points 8 months ago (1 children)

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

[–] [email protected] 2 points 8 months ago

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