Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #97226

Re: Linux Mint installation of Python 3.5

Path csiph.com!goblin3!goblin2!goblin.stu.neva.ru!newsfeed1.swip.net!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.021
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'subject:Python': 0.05; 'binary': 0.05; 'subject:installation': 0.07; 'cc:addr:python- list': 0.09; 'python': 0.10; 'wed,': 0.15; 'explicitly': 0.15; 'packages.': 0.15; "'make": 0.16; 'binary.': 0.16; 'cc:name:python list': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'personally,': 0.16; 'virtualenv.': 0.16; 'wrote:': 0.16; 'versions': 0.20; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'sep': 0.22; 'header:In-Reply-To:1': 0.24; 'script': 0.25; 'install': 0.25; 'installed': 0.26; 'linux': 0.26; 'message-id:@mail.gmail.com': 0.27; 'said,': 0.27; 'idea': 0.28; 'looks': 0.29; 'regular': 0.29; "i'm": 0.30; 'though,': 0.32; 'source': 0.33; 'safely': 0.33; 'received:google.com': 0.35; 'ahead': 0.35; 'easiest': 0.35; 'replace': 0.35; 'something': 0.35; 'but': 0.36; 'should': 0.36; 'possible': 0.36; 'modules': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'sources': 0.37; "won't": 0.38; '30,': 0.63; 'safe': 0.63; 'wish': 0.71; 'upgrading': 0.72; '12:37': 0.84; '2.7.': 0.84; '3.4': 0.84; 'chrisa': 0.84; 'figueiredo': 0.84; 'mario': 0.84; 'os?': 0.84; 'touching': 0.84; 'to:none': 0.91; 'step.': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=FjRm3bDVs+Is1Qwll6XDH7RBZlFH1LlEU1bIN43L4/M=; b=sMaA8TtS0Cksv1+nbSkMxS+DavYEWg55HgwWi40gR1kxtfGX/MTHtDMMAAuYhpafIg ZHazk8ZObArcqBwPS4CHdFLb07T/+QXysePySvJbuPLXGUalBNYdNBxI4yyw4kaAjswI PqiAXo9aN7koP/fxWehzpKK4RQdSYH+rj9CWt3OmG2wA+8SZGH3Csmwpjz63hWa+2sCO PH+dw551VLDgf2ZZqWYx7Bp2Mrl6PSHE2+fX/q7D135uUKbaq5l/G45mxaom696QzJJ2 0C3DOEsnRExOQgd04u6hOz2N94Hoh+0p//q9sXNow71hOQnUTllNxUEQR4NXayWrQult xATw==
MIME-Version 1.0
X-Received by 10.50.154.1 with SMTP id vk1mr2210823igb.92.1443581068064; Tue, 29 Sep 2015 19:44:28 -0700 (PDT)
In-Reply-To <560B4AFA.2040305@gmx.com>
References <560B4AFA.2040305@gmx.com>
Date Wed, 30 Sep 2015 12:44:27 +1000
Subject Re: Linux Mint installation of Python 3.5
From Chris Angelico <rosuav@gmail.com>
Cc Python List <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.254.1443581077.28679.python-list@python.org> (permalink)
Lines 22
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1443581077 news.xs4all.nl 23755 [2001:888:2000:d::a6]:33172
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:97226

Show key headers only | View raw


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


Thread

Re: Linux Mint installation of Python 3.5 Chris Angelico <rosuav@gmail.com> - 2015-09-30 12:44 +1000

csiph-web