I know there choice of distro is really meaningless as you can install almost any program on almost any distro. But I have been playing with kali which is for security people and pen testers. Is there a similar distro for programmers? Like a few ides installed some profiling tools some virtual environment tools etc?

  • ouch@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    Are these made similarly to how Debian handles python2 and python3 for instance?

    I’m not sure that anything short of a package manager that would compile everything from sources would be able to provide capability to pick and mix specific package versions.

    • nyan@sh.itjust.works
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      I don’t know how Debian’s solution works, so I couldn’t say for certain. Gentoo usually installs the different package versions to their own directories, and there are methods for selecting a “system python” (or lua, etc) which is the target of the /usr/bin/python symlink. Other versions have to be called with qualifiers (for instance, python3.10). Python libraries installed through the package manager may install to one or several versions depending on the content of a couple of environment variables, and applications that need python can request a specific version if they need to, or accept the system python if they don’t care. (Note that python2 is no longer eligible to be the system python—you need at least one python3, although 2.7.18 remains in the package repository and can be installed as well if you really need it.)

      Of course, if you’re not a programmer, you can leave the defaults for everything alone, and most of the time it should Just Work.

      • ouch@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        3 months ago

        Sounds pretty close to Debian as far as I remember. In Debian those symlinks are called alternatives, and can be configured with update-alternatives. Not sure about the Python libraries though.