[CentOS] Python 3.x on Centos 7

Matt matt.mailinglists at gmail.com
Wed Mar 29 21:50:32 UTC 2017


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 at 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 at centos.org
> https://lists.centos.org/mailman/listinfo/centos



More information about the CentOS mailing list