:: Re: [DNG] Python2.7
Top Page
Delete this message
Reply to this message
Author: Steve Litt
Date:  
To: dng
Subject: Re: [DNG] Python2.7
Olaf Meeuwissen said on Thu, 12 Jun 2025 21:00:26 +0900


>> That's a finite effort taking a finite amount of time.
>>
>>> Changes a part of the filesystem? True. But it changes exactly one
>>> file.
>>
>> That's a part of the filesystem supposed to be controlled by the
>> package manager.
>
>ACK.
>If you go the trouble Steve suggested, put it in /usr/local/bin/.
>No need to chattr either.


This works if:

1) /usr/local/bin comes before /usr/bin in your executable path, which
is true on my computer.

2) No Python program shebangs are #/usr/bin/python or
#/usr/bin/python2.7, which is not true on my computer or most other
peoples'.


SteveT

Steve Litt

http://444domains.com