4 ms·
python hasn't been installed by default in almost any env i've worked in for the past ~5 years maybe for dev environments, but certainly not for servers
by arccy 3y ago
python hasn't been installed by default in almost any env i've worked in for the past ~5 years
maybe for dev environments, but certainly not for servers
- betaby 3y agoInteresting how that was achieved. Most popular Linux distributions are very hard to install without python3 an perl5. LSB https://refspecs.linuxfoundation.org/lsb.shtml https://refspecs.linuxfoundation.org/lsb.shtml defines them as standard.
- rascul 3y agoMaybe not so hard as you might think. On my openSUSE desktop, uninstalling python3 would remove only calibre and virt-manager. Most of my server/container/vm installs don't have any python version. Perl isn't much harder to get rid of depending on the use case, for example some development stuff uses it. I'm also not sure distros generally care about LSB. Debian dropped it years ago and did any distro even bother to implement it correctly?
- rini17 3y agoI don't get all these arguments. You would really prefer to use hard-to-check shell script to simply installing system python package if it isn't installed already?
- rascul 3y agoYou said distros can't install without python and perl, my argument is the opposite. Shell scripts aren't in the picture.
- earthling8118 3y agoWhy would I want a system level python install?
- rini17 3y agoBecause it allows for scripting infrastructure with far fewer obfuscated hacks than bash/awk. And if you use system python, vulnerabilities are more likely to get patched by distribution vendor. Your homebrewn json parsing regexes won't.