Skip to content

update install guides to python 3 first, then python 2 #778

Open

Activity

  1. Nefari0uss commented on Feb 16, 2017

    @Nefari0uss
    Contributor

    Gonna copy and paste my comment from the previous issue:

    For Linux it might be best to simply state to install using the default package manager and give an example for some of the most common ones:

    • Debian/Ubuntu - apt-get install python3
    • Fedora- yum install python3
    • Red Hat - rpm install python3
    • Arch Linux - pacman -S python3

    Please correct me if I'm wrong on yum/rpm. I only know the syntax for apt and pacman and model what I thought it might be based on the Wikipedia page.

  2. rct commented on Apr 13, 2017

    @rct

    @Nefari0uss

    Please correct me if I'm wrong on yum/rpm

    • Fedora, dnf has replaced yum.
    • Red Hat, aka RHEL 7 and CentOS 7:
      • The command would be yum to use a package manager that can pull from a remote repo. (Using the rpm command is like using dpkg instead of apt/apt-get)
      • There is no python 3 in the base/default RHEL/Centos 7 package repositories.
      • Red Hat Software Collections (RHSCL) provides alternate packages that need to be activated/enabled, similar to other python environment managers. For RHEL uses, RHSCL is supported by Red Hat.
      • See https://developers.redhat.com/products/softwarecollections/hello-world/#fndtn-python - RHSCL Python tutorial
      • For CentOS see https://www.softwarecollections.org/en/
      • There might be better/more complete python3 collection alternatives, depending on your use case.
  3. kennethreitz commented on May 1, 2017

    @kennethreitz
    ContributorAuthor

    that won't get people the latest python3.

  4. rct commented on May 1, 2017

    @rct

    (I was replying to @Nefari0uss comment which had incorrect or misleading instructions.)

    For RHEL 7, Software collections is the way to get (a supported) Python 3. As of RHSCL 2.3 Python 3.5.1 is included, as well as an updated 2.7. RHSCL 2.4 with updated collections is in beta and due out soon, but I don't think it includes Python 3.6

    https://www.softwarecollections.org/en/ is software collections for CentOS.

    If you want the absolute latest python on RHEL/CentOS, or any distro that's more than a few months old, you'll need to compile from source, or use alternative packages that don't come with the OS.

  5. dbader commented on Jul 18, 2018

    @dbader
    Member

    This may be helpful for updating the install guides: https://realpython.com/installing-python/

  6. apjanke commented on Dec 18, 2018

    @apjanke
    Contributor

    Looks like this has been fixed now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions