:: Re: [DNG] Python2.7
Inizio della pagina
Delete this message
Reply to this message
Autore: Olaf Meeuwissen
Data:  
To: Steve Litt
CC: dng
Oggetto: Re: [DNG] Python2.7
Hi,

Steve Litt <slitt@???> writes:

> 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.


That's the default and recommended practice. Putting it after /usr/bin
defeats its purpose for the most part.

> 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'.


Good point.
--
Olaf Meeuwissen