Needs to install python 3.4.4 in RHEL 6

Hi team, I wanted to install python version 3.4.4 in my RHEL 6 system. Can someone give installation process or any reference link from which I can get required steps and download desire package. Thanks, *Nilesh Date*

Hi Nilesh, On Thu, Apr 28, 2016 at 7:00 AM, Nilesh Date <nileshdate1990@gmail.com> wrote:
You have a couple of options. Option 1: use software collections [1]. As I vaguely understand it (having never used this myself), the rh-python34 package is supported by Red Hat, and is like any other package for the most part. Looking at that page it does look a bit more complex than option 2 to me, but I've built and installed Python several times over the past few years :) Option 2: compile and install yourself. At a minimum, you'll need a c compiler (gcc, icc, or clang are recommended), and development headers for any extension modules that you require (I'd recommend openssl-devel and readline-devel at the least). Then download the source [2], extract it, and run `cd Python-3.4.4 && ./configure && make profile-opt && make test && sudo make install`. That series of commands will give you python installed in `/usr/local/` that has been compiled with profile-guided optimization (PGO) and has passed the full Python test suite. If any but the last step fails, nothing will have changed on your system. [1] https://www.softwarecollections.org/en/scls/rhscl/rh-python34/ [2] https://www.python.org/downloads/source/ Hope this helps, -- Zach

On 29 April 2016 at 01:38, Zachary Ware <zachary.ware+pydev@gmail.com> wrote:
Note that the versions hosted on softwarecollections.org are provided by the SCLo CentOS SIG. For the commercially supported versions, most RHEL subscriptions include access to the relevant channels: https://access.redhat.com/solutions/472793 Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia

Hi Nilesh, On Thu, Apr 28, 2016 at 7:00 AM, Nilesh Date <nileshdate1990@gmail.com> wrote:
You have a couple of options. Option 1: use software collections [1]. As I vaguely understand it (having never used this myself), the rh-python34 package is supported by Red Hat, and is like any other package for the most part. Looking at that page it does look a bit more complex than option 2 to me, but I've built and installed Python several times over the past few years :) Option 2: compile and install yourself. At a minimum, you'll need a c compiler (gcc, icc, or clang are recommended), and development headers for any extension modules that you require (I'd recommend openssl-devel and readline-devel at the least). Then download the source [2], extract it, and run `cd Python-3.4.4 && ./configure && make profile-opt && make test && sudo make install`. That series of commands will give you python installed in `/usr/local/` that has been compiled with profile-guided optimization (PGO) and has passed the full Python test suite. If any but the last step fails, nothing will have changed on your system. [1] https://www.softwarecollections.org/en/scls/rhscl/rh-python34/ [2] https://www.python.org/downloads/source/ Hope this helps, -- Zach

On 29 April 2016 at 01:38, Zachary Ware <zachary.ware+pydev@gmail.com> wrote:
Note that the versions hosted on softwarecollections.org are provided by the SCLo CentOS SIG. For the commercially supported versions, most RHEL subscriptions include access to the relevant channels: https://access.redhat.com/solutions/472793 Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia
participants (3)
-
Nick Coghlan
-
Nilesh Date
-
Zachary Ware