Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #97226
| References | <560B4AFA.2040305@gmx.com> |
|---|---|
| Date | 2015-09-30 12:44 +1000 |
| Subject | Re: Linux Mint installation of Python 3.5 |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.254.1443581077.28679.python-list@python.org> (permalink) |
On Wed, Sep 30, 2015 at 12:37 PM, Mario Figueiredo <marfig@gmx.com> wrote: > Under Linux Mint it is not a good idea to just go ahead and replace the > system installed Python versions and their packages. And yet I wish to > both update the 3.4 modules and install Python 3.5. I understand that > for the first I just need to use virtualenv. > > But how can I safely install Python 3.5 from sources into a Linux Mint > box without damaging the OS? The easiest way to install something from source is to use 'make altinstall' for the final step. That should install you a 'python3.5' binary without touching the 'python3' binary. That said, though, it's entirely possible that upgrading 'python3' from 3.4 to 3.5 won't actually break anything; it won't break any script that explicitly looks for python3.4, and there's not a huge amount of breakage. But to be on the safe side, use altinstall and explicitly ask for python3.5 any time you want it. Personally, I use the regular 'make install', but that's because I'm on Debian - the system Python is 2.7. ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Linux Mint installation of Python 3.5 Chris Angelico <rosuav@gmail.com> - 2015-09-30 12:44 +1000
csiph-web