`
cloudhe
  • 浏览: 107677 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Installing python on maemo and Nokia N800

阅读更多

Python2.5 is needed when using pygtk on maemo, otherwise the default python2.3 may be enough.

Add "deb http://repository.maemo.org/extras bora free non-free" to /scratchbox/users/maemo/target/SDK_ARMEL/etc/apt/sources.list

Terminal code
  1. [sbox-SDK_ARMEL: ~] > fakeroot apt-get update   
  2. [sbox-SDK_ARMEL: ~] > fakeroot apt-get install python2.5*  

or: (if dependencies fail when install python2.5*, which contains lots of unnecessary packages)

Terminal code
  1. [sbox-SDK_ARMEL: ~] > fakeroot apt-get update   
  2. [sbox-SDK_ARMEL: ~] > fakeroot apt-get install python2.5-gtk2   
  3. [sbox-SDK_ARMEL: ~] > fakeroot apt-get install python2.5-dev   
  4. [sbox-SDK_ARMEL: ~] > fakeroot apt-get install python2.5-hildon   
  5. [sbox-SDK_ARMEL: ~] > fakeroot apt-get install python2.5-osso  

Do NOT remove python or python2.3 or python2.4 before install python2.5, since the python package from the repository is BROKEN. Once removed, never back ...


On N800, python2.5-runtime is needed.

Open Application catalogue (inside Tools, on the application's menu), and add 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
 

Refresh package list, and then you'll see python2.5-runtime package, which will automatically pull all available python bindings, but not the development packages.

Or, just download python2.5 directly from below:

http://pymaemo.garage.maemo.org/installation.html

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics