Is there a way to install Python 3.x on Centos 7.x without breaking anything that depends on an older version of Python? This server is a minimal Centos 7 install that primarily runs a simple LAMP setup.
Yes. Just don't delete 2.x version
(Sent from iPhone, so please accept my apologies in advance for any spelling or grammatical errors.)
On Mar 23, 2017, at 6:16 PM, Matt matt.mailinglists@gmail.com wrote:
Is there a way to install Python 3.x on Centos 7.x without breaking anything that depends on an older version of Python? This server is a minimal Centos 7 install that primarily runs a simple LAMP setup. _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
On Thu, 23 Mar 2017, Matt wrote:
Is there a way to install Python 3.x on Centos 7.x without breaking anything that depends on an older version of Python? This server is a minimal Centos 7 install that primarily runs a simple LAMP setup.
yum install centos-release-scl yum search rh-python35
Install what you need, then you have a couple choices about how to use the SCL for Python 3.5. For your choices, see
https://www.madboa.com/blog/2016/08/29/scl-intro/
On Thu, 2017-03-23 at 18:16 -0500, Matt wrote:
Is there a way to install Python 3.x on Centos 7.x without breaking anything that depends on an older version of Python? This server is a minimal Centos 7 install that primarily runs a simple LAMP setup.
Yes. # yum install python34
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
On Thu, 2017-03-23 at 23:27 +0000, Christian, Mark wrote:
On Thu, 2017-03-23 at 18:16 -0500, Matt wrote:
Is there a way to install Python 3.x on Centos 7.x without breaking anything that depends on an older version of Python?
Yes. # yum install python34
I should have mentioned that python34 comes from the epel repo.
which can be installed from: https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F
# yum install python34
I already have epel installed. If it breaks something is it as simple as yum erase python34 to restore everything back to normal?
On Thu, Mar 23, 2017 at 6:27 PM, Christian, Mark mark.christian@intel.com wrote:
On Thu, 2017-03-23 at 18:16 -0500, Matt wrote:
Is there a way to install Python 3.x on Centos 7.x without breaking anything that depends on an older version of Python? This server is a minimal Centos 7 install that primarily runs a simple LAMP setup.
Yes. # yum install python34
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
On Fri, 2017-03-24 at 08:52 -0500, Matt wrote:
# yum install python34
I already have epel installed. If it breaks something is it as simple as yum erase python34 to restore everything back to normal?
If it's in epel it will have been tested with RHEL/CentOS so shouldn't break anything. But yes, a yum erase should remove it.
P.
On 3/24/2017 6:52 AM, Matt wrote:
# yum install python34
I already have epel installed. If it breaks something is it as simple as yum erase python34 to restore everything back to normal?
be pretty hard to break anything, it installs...
/usr/bin/python3 /usr/bin/python3.4
and puts all the runtime libs in /usr/lib64/python3.4
the default C7 python is...
/usr/bin/python /usr/bin/python2 /usr/bin/python2.7
with libraries in /usr/lib64/python2.7
so no overlap at all. if you want python 3.4, you have to invoke it explicitly.
On a related note I need SNMP support to do snmpget and snmpset to devices with Python3. Is there an easy way to get that without breaking anything also?
On Fri, Mar 24, 2017 at 1:04 PM, John R Pierce pierce@hogranch.com wrote:
On 3/24/2017 6:52 AM, Matt wrote:
# yum install python34
I already have epel installed. If it breaks something is it as simple as yum erase python34 to restore everything back to normal?
be pretty hard to break anything, it installs...
/usr/bin/python3 /usr/bin/python3.4
and puts all the runtime libs in /usr/lib64/python3.4
the default C7 python is...
/usr/bin/python /usr/bin/python2 /usr/bin/python2.7
with libraries in /usr/lib64/python2.7
so no overlap at all. if you want python 3.4, you have to invoke it explicitly.
-- john r pierce, recycling bits in santa cruz
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
I much prefer the Anaconda distribution of Python3. It installs for a single user and is completely self contained. Also much more recent versions are available:
https://www.continuum.io/downloads
On 24 March 2017 at 00:16, Matt matt.mailinglists@gmail.com wrote:
Is there a way to install Python 3.x on Centos 7.x without breaking anything that depends on an older version of Python? This server is a minimal Centos 7 install that primarily runs a simple LAMP setup. _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos