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

Linux Questions

982 readers
1 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

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
no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here