:: Re: [DNG] Python2.7
Inizio della pagina
Delete this message
Reply to this message
Autore: Steve Litt
Data:  
To: dng
Oggetto: Re: [DNG] Python2.7
Rainer Weikusat via Dng said on Mon, 09 Jun 2025 11:06:53 +0100

>Marc Shapiro via Dng <dng@???> writes:
>> Is there anything in the OS supplied applications that requires
>> Python2.7?
>>
>> I have both Python2.7 and Python3.13 installed.  The link
>> /usr/bin/python points to /usr/bin/python3, which points to
>> user/bin/python3.13.  So the only time that Python2.7 would be used
>> is if it is specifically called for in a script.  I am not calling
>> 2.7, so, unless there are OS supplied files that require it, I could
>> delete 2.7, keeping only 3.13.
>>
>> Is there any reason to keep Python2.7?
>
>Try deinstalling (dpkg --purge) it. This will tell what - if anything -
>depends on it. This should enable you to assess whether you need/
>actually use this anything. If nothing comes up, just deinstall
>it. Should you in future want to use something which needs Python2,
>it'll just be reinstalled automatically.


Unless he has self compiled or self created stuff needing Python 2.7.
I'd recommend backing up the Python 2.7 executable to another name,
replace the current python2.7 executable with a zenity popup stating
that the former Python 2.7 has been called. Run like that for 2 months.
If you don't see the zenity popup, you can be a lot more sure that
Python 2.7 isn't needed at all on your computer.

My idea is in addition to, not instead of, checking whether any
*packages* depend on Python 2.7.

SteveT

Steve Litt

http://444domains.com