Removing python 2.7.5 from CentOS 7

General support questions
Post Reply
phil.e
Posts: 97
Joined: 2018/02/13 20:28:14

Removing python 2.7.5 from CentOS 7

Post by phil.e » 2021/05/28 18:16:44

Nessus is flagging the python 2.7.5 version that's in our CentOS 7.9 systems as a "critical" finding.

When I tried to remove it on a test system with yum, it generated a list of dependencies a mile long.

Is it possible to remove it, or is it too baked into the core of the system to get rid of it?

tunk
Posts: 1206
Joined: 2017/02/22 15:08:17

Re: Removing python 2.7.5 from CentOS 7

Post by tunk » 2021/05/28 18:26:21

Don't know about this, but in general:
https://wiki.centos.org/FAQ/General#A_P ... oits_in_it

User avatar
TrevorH
Site Admin
Posts: 33220
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Removing python 2.7.5 from CentOS 7

Post by TrevorH » 2021/05/28 18:29:55

You cannot remove python 2.7.5 from CentOS 7 as it's used by all the system tools like yum. You can safely ignore the nessus finding since python 2.7.5 is maintained by Red Hat not by python.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

phil.e
Posts: 97
Joined: 2018/02/13 20:28:14

Re: Removing python 2.7.5 from CentOS 7

Post by phil.e » 2021/05/28 19:25:30

Thank you!

Post Reply