zeldor.biz

Linux, programming and more

Copyright © 2023
Log in

Parallel python versions

March 11, 2019 by Igor Drobot Leave a Comment

Some project have strict dependencies, and requires additional python 3.x versions to manage the dependencies.
This describes a walkthrough of a build of python 3.5.6 from a source tarball.

Just go to python.org Download section and copy the download link to a python version of your need:


cd /usr/local/src
wget https://www.python.org/ftp/python/3.5.6/Python-3.5.6.tgz
tar xvf Python-3.5.6.tgz
cd Python-3.5.6
./configure --enable-optimizations --with-ensurepip=install
make -j 8
make install
python3.5 -V

As you see, the steps are straight forward.
The only one dependencies you have to install, are the build essential tools aka. C compiler.

Filed Under: Linux Tagged With: pyenv, Python, python3

Categories

Archives

Tags

apache2 Apple arduino ARM Automation backup bash Cisco Cluster Corosync Database Debian Debian squeeze DIY DNS Fedora FTP Fun Icinga Ipv6 KVM Linux LVM MAC OS X Monitoring MySQL Nagios Nginx openSUSE OpenVPN PHP Proxy Python python3 qemu RAID rsync Samba security ssh Ubuntu virtualization Windows Windows 7 Wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *