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
You must log in or # to comment.
move them to another directory and remove any executable flag ( chmod -x * ) Then see if anything breaks.
What is that file called? Might help identify the reason for it