PyMaemo/Installation: Difference between revisions

From Maemo Wiki
Jump to navigationJump to search
imported>lmoura
imported>amigadave
tidy and reorder
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{out of date}}
Warning: It is necessary to remove ALL applications that depends on Python2.4 BEFORE you remove python2.4-runtime. This is necessary to ensure that all python2.4 packages will be correctly removed.
Warning: It is necessary to remove ALL applications that depends on Python2.4 BEFORE you remove python2.4-runtime. This is necessary to ensure that all python2.4 packages will be correctly removed.


PyMaemo is taken as a dependency for other applications and it isn't listed by Application Manager anymore. This way if you choose to install PyMaemo by yourself follow the steps below:
PyMaemo is taken as a dependency for other applications and it isn't listed by Application Manager anymore. This way if you choose to install PyMaemo by yourself follow the steps below:


== Installation on Maemo 5 beta (fremantle) ==


<table>
Given that currently only the SDK is available, PyMaemo is supposed to be installed only inside Scratchbox, as instructed in [[PyMaemo/SDKInstallation]].
            <th>OS2007</th>
            <th></th>
            <th>OS2008</th>


            <tr>
== OS2008 ==
                <td>Open Application Manager</td>
                <td></td>
                <td>Open Application Manager</td>
            </tr>
            <tr>
                <td>ApplicationManager->Tools->Application catalogue...</td>


                <td></td>
# Open Application Manager
                <td>ApplicationManager->Tools->Application catalogue...</td>
# ApplicationManager->Tools->Application catalogue...
            </tr>
# Edit Maemo Extras
            <tr>
# Uncheck disabled box
                <td>There is any bora-extras? If no, add them clicking New button</td>
# Click OK and wait refresh
                <td>    </td>
                <td>Edit Maemo Extras</td>


            </tr>
== OS2007 ==
            <tr>
                <td><strong>Catalogue Name:</strong> bora-extras</td>
                <td></td>
                <td>Uncheck disabled box</td>
            </tr>
            <tr>


                <td><strong>Web address:</strong> http://repository.maemo.org/extras</td>
# Open Application Manager
                <td></td>
# ApplicationManager->Tools->Application catalogue...
                <td>Click OK and wait refresh</td>
# There is any bora-extras? If no, add them clicking New button
            </tr>
## '''Web address:''' http://repository.maemo.org/extras
            <tr>
## '''Distribution:''' bora
                <td><strong>Distribution:</strong> bora</td>
## '''Components:''' free non-free
# Click OK and wait refresh


                <td></td>
Now run x-term application, to get a command line prompt. Your device must be in RD mode. This is done using
                <td></td>
sudo flasher --enable-rd-mode.
            </tr>
            <tr>
                <td><strong>Components:</strong> free non-free</td>
                <td></td>
                <td></td>


            </tr>
Inside x-term type (hit ENTER after each line):
            <tr>
sudo /usr/sbin/gainroot
                <td>Click OK and wait refresh</td>
apt-get update
                <td></td>
apt-get install python2.5-runtime
                <td></td>
            </tr>
</table>


Now run x-term application, to get a command line prompt. Your device must be in RD mode. This is done using sudo flasher --enable-rd-mode.
When asked to agree, choose Y. Now wait until python is being installed. If you want to install Python on Maemo SDK (Scratchbox), check the steps here.
 
Inside x-term type (hit ENTER after each line):<br>
* sudo /usr/sbin/gainroot
* apt-get update
* apt-get install python2.5-runtime
 
When asked to agree, choose Y. Now wait until python is being installed.<br>
If you want to install Python on Maemo SDK (scratchbox), check the steps here.
 
 
== Installation on Maemo 5 beta (fremantle) ==
 
 
Given that currently only the SDK is available, PyMaemo is supposed to be installed only inside Scratchbox, as instructed in [[PyMaemo/SDKInstallation]].


== Upgrade ==
== Upgrade ==


To run an update it is possible to use the install files.
To run an update it is possible to use the install files.
Line 80: Line 43:
* [http://maemo.org/downloads/product/OS2007/python/ Update - OS2007]
* [http://maemo.org/downloads/product/OS2007/python/ Update - OS2007]
* [http://maemo.org/downloads/product/OS2008/pymaemo/ Update - OS2008]
* [http://maemo.org/downloads/product/OS2008/pymaemo/ Update - OS2008]
[[Category:Python]]

Latest revision as of 13:25, 23 June 2010

This article is out-of-date, and needs to be updated.
Please see the talk page for discussion.

Warning: It is necessary to remove ALL applications that depends on Python2.4 BEFORE you remove python2.4-runtime. This is necessary to ensure that all python2.4 packages will be correctly removed.

PyMaemo is taken as a dependency for other applications and it isn't listed by Application Manager anymore. This way if you choose to install PyMaemo by yourself follow the steps below:

Installation on Maemo 5 beta (fremantle)

Given that currently only the SDK is available, PyMaemo is supposed to be installed only inside Scratchbox, as instructed in PyMaemo/SDKInstallation.

OS2008

  1. Open Application Manager
  2. ApplicationManager->Tools->Application catalogue...
  3. Edit Maemo Extras
  4. Uncheck disabled box
  5. Click OK and wait refresh

OS2007

  1. Open Application Manager
  2. ApplicationManager->Tools->Application catalogue...
  3. There is any bora-extras? If no, add them clicking New button
    1. Web address: http://repository.maemo.org/extras
    2. Distribution: bora
    3. Components: free non-free
  4. Click OK and wait refresh

Now run x-term application, to get a command line prompt. Your device must be in RD mode. This is done using

sudo flasher --enable-rd-mode.

Inside x-term type (hit ENTER after each line):

sudo /usr/sbin/gainroot
apt-get update
apt-get install python2.5-runtime

When asked to agree, choose Y. Now wait until python is being installed. If you want to install Python on Maemo SDK (Scratchbox), check the steps here.

Upgrade

To run an update it is possible to use the install files.