PyMaemo/Installation: Difference between revisions

From Maemo Wiki
Jump to navigationJump to search
imported>amigadave
imported>amigadave
tidy and reorder
 
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>
                <td>Open Application Manager</td>
                <td></td>
                <td>Open Application Manager</td>
            </tr>
            <tr>
                <td>ApplicationManager->Tools->Application catalogue...</td>
 
                <td></td>
                <td>ApplicationManager->Tools->Application catalogue...</td>
            </tr>
            <tr>
                <td>There is any bora-extras? If no, add them clicking New button</td>
                <td>    </td>
                <td>Edit Maemo Extras</td>
 
            </tr>
            <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>
                <td></td>
                <td>Click OK and wait refresh</td>
            </tr>
            <tr>
                <td><strong>Distribution:</strong> bora</td>
 
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td><strong>Components:</strong> free non-free</td>
                <td></td>
                <td></td>
 
            </tr>
            <tr>
                <td>Click OK and wait refresh</td>
                <td></td>
                <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.
== OS2008 ==


Inside x-term type (hit ENTER after each line):<br>
# Open Application Manager
* sudo /usr/sbin/gainroot
# ApplicationManager->Tools->Application catalogue...
* apt-get update
# Edit Maemo Extras
* apt-get install python2.5-runtime
# Uncheck disabled box
# Click OK and wait refresh


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


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


== Installation on Maemo 5 beta (fremantle) ==
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


Given that currently only the SDK is available, PyMaemo is supposed to be installed only inside Scratchbox, as instructed in [[PyMaemo/SDKInstallation]].
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 ==
== 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.

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.