I have Python 2.7.9 and Python 3.4.3 installed in a Ubuntu 15.04 machine. Now I want to upgrade Python 3.4.3 to Python 3.6.1 without affecting the packages which are depended on Python 3.x.x. I have found that Python versions are released as separate package. So, my questions are:
- Can I actually upgrade
Python 3.4.3toPython 3.6.1? - If the answer is no, can I uninstall
Python 3.4.3and installPython 3.6.1without affecting the installed packages? - If the second answer is no, then what will happen if I install
Python 3.6.1usingsudo apt-get install python 3.6.1? Can I usePython 3.6.1without affecting other versions usingPython3.6command in terminal and in virtual environments?
Update
I have installed Python 3.6 from -> https://stackoverflow.com/a/44758621/3129414