PyMaemo/Manual installation

m (PyMaemo/ManualInstallation moved to PyMaemo/Manual installation: Naming convention - no CamelCase)
Line 24: Line 24:
== Development Packages ==
== Development Packages ==
-
 
To be able to develop and applications using the device it's necessary to install python2.5-dev package. The steps to do this are decribed below:
To be able to develop and applications using the device it's necessary to install python2.5-dev package. The steps to do this are decribed below:
Open a xterm session. Inside this session run:
Open a xterm session. Inside this session run:
-
 
+
sudo /usr/sbin/gainroot
-
sudo /usr/sbin/gainroot
+
Now install the package using apt-get utility:
Now install the package using apt-get utility:
-
 
+
apt-get install python2.5-dev
-
apt-get install python2.5-dev
+
And finally exit from gainroot:
And finally exit from gainroot:
 +
exit
-
exit
+
[[Category:Python]]

Revision as of 15:51, 11 February 2010

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.

Follow these steps:

1. Open the Application manager (in Tools menu).
2. Open its Application catalogue (inside Tools, on the application's menu).
3. Add the following repositories:
     Name: 	Maemo
     Web address: 	http://repository.maemo.org
     Distribution: 	bora
     Components: 	free non-free
     Name: 	Maemo Extras
     Web address: 	http://repository.maemo.org/extras
     Distribution: 	bora
     Components: 	free non-free
4. Refresh package list.
5. Install python2.5-runtime package, which will automatically pull all available Python bindings, but not the development packages.

Note that if you're using Maemo 2.x series you have to replace bora by the appropriate distribution name. Either scirocco (2.1) or gregale (2.2).


Development Packages

To be able to develop and applications using the device it's necessary to install python2.5-dev package. The steps to do this are decribed below:

Open a xterm session. Inside this session run:

sudo /usr/sbin/gainroot

Now install the package using apt-get utility:

apt-get install python2.5-dev

And finally exit from gainroot:

exit