Re: compile python

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Todd Millecam
Date:  
To: Main PLUG discussion list
Subject: Re: compile python
1) find out which distro is on your pi
2) find out what package manger it uses
3) find out how to add a repo to it and add the python repo
4) run an update to get the new packages list
5) install python
*) alternatively, get the python-arm package (.deb, .rpm, or .tar.gz) and
install it manually

Cross compiling is not for the faint of heart and unless you're comfortable
editing a makefile and possibly reading a coredump then modifying C code
either by hand or using patch, then I would advise against it.


On Sun, Apr 10, 2016 at 7:30 PM, Michael <> wrote:

> I'm beginning to think I should compile python on the main box and then
> install it to the pi through ssh. Sound like a good plan?
>
> On Sun, Apr 10, 2016 at 10:01 PM, Michael <> wrote:
>
>> yeah... my pi doesn't recognize the command add-apt-repository (what it
>> is, I got it written down).
>>
>> On Sun, Apr 10, 2016 at 9:56 PM, Todd Millecam <> wrote:
>>
>>> A PPA is an individual's repository. They're used to dristribute more
>>> up-to-date versions of software than the distro maintainer. A good example
>>> of a PPA is postgresql. They test their new builds on Ubuntu, but Ubuntu
>>> only tests one of their builds every 6 months. By adding the Postgresql
>>> PPA, you can get the most up-to-date stuff in a more timely fashion.
>>>
>>> Another good use for a PPA is for non x86-64 architectures (which the
>>> raspberry pi is). Adding a PPA is the same operation as adding a
>>> repository. apt-add-repository is the command for Ubuntu I believe.
>>>
>>> I say this because I've attempted to compile things on a Pi 2, and it's
>>> an overnight wait.
>>>
>>> On Sun, Apr 10, 2016 at 5:43 PM, koder <> wrote:
>>>
>>>> Mike,
>>>>
>>>> What load are you running on your Pi?
>>>>
>>>> I have the B and it comes loaded with 2.7.3, which is, for all
>>>> practical purposes the same, I would think.
>>>>
>>>> This link addresses the issue in the Ubuntu environment and may be
>>>> informative.
>>>>
>>>> if you are running the early Pi, perhaps yo might want to consider
>>>> getting a second SD chip and experimenting with a newer version of
>>>> Raspbian, or at least give yourself a spare load that you can mess up
>>>> without grief.
>>>>
>>>>
>>>>
>>>>
>>>> On 04/10/2016 04:34 PM, Michael wrote:
>>>>
>>>> my little raspberry pi needs at the least pyhon2.7.10. If it understood
>>>> what a ppa is this would be a simple matter but as fate would have it I
>>>> need to compile from source. Will doing that screw up anything ?
>>>>
>>>> --
>>>> :-)~MIKE~(-:
>>>>
>>>>
>>>> ---------------------------------------------------
>>>> PLUG-discuss mailing list -
>>>> To subscribe, unsubscribe, or to change your mail settings:http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------
>>>> PLUG-discuss mailing list -
>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>
>>>
>>>
>>>
>>> --
>>> Todd Millecam
>>>
>>> ---------------------------------------------------
>>> PLUG-discuss mailing list -
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>
>>
>>
>>
>> --
>> :-)~MIKE~(-:
>>
>
>
>
> --
> :-)~MIKE~(-:
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>




--
Todd Millecam
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss