Differences between revisions 7 and 8
Revision 7 as of 2007-10-08 17:09:55
Size: 2950
Editor: 69-30-77-125
Comment:
Revision 8 as of 2007-10-08 19:38:17
Size: 3779
Editor: 69-30-77-125
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Installing wxWidgets and/or wxPython On Ubuntu Or Debian == == Installing wxWidgets and wxPython On Ubuntu Or Debian ==
Line 45: Line 45:

    * This repository only contains packages for the UnicodeBuild of wxWidgets. If you need the ansi build instead then you can use the old repository until the new one is updated to include packages for the ansi build too. If you don't know which you need then you probably want the Unicode build (this is what is included in the main distro repositories,) so just use the instructions detailed above. Otherwise you can use this repository:


    {{{
    deb http://apt.tt-solutions.com/debian/ etch main }}}

    or

    {{{
    deb http://apt.tt-solutions.com/ubuntu/ dapper main }}}

    (or use 'edgy' or 'feisty' in place of 'dapper' if you are using those releases) and get the digital signature from:

    {{{
    curl http://www.tt-solutions.com/vz/key.asc | apt-key add - }}}

Installing wxWidgets and wxPython On Ubuntu Or Debian

There are wxWidgets and wxPython packages in the standard software repositories for Debian and Ubuntu, but they are usually at least a few releases behind the current release, and in some cases many releases behind. Since many users prefer to use only packages installed from repositories (for easier package maangement) but still would like to have newest versions possible of their installed software, we have our own APT repository that is usually updated within a few days of each release. To use it to be able to keep your wx on the cutting edge release just follow these instructions.

  1. The packages and the repository meta-data are digitally signed, so you'll need to import the key into your apt's list of trusted keys in order to not get warnings about it.
        curl http://apt.wxwidgets.org/key.asc | sudo apt-key add - 
  2. Add the following lines to your /etc/apt/sources.list file. Replace the "DIST" text with whatever is appropriate for your system. (See further down the page for a table of supported distributions and architectures.)

        # wxWidgets/wxPython repository at apt.wxwidgets.org
        deb http://apt.wxwidgets.org/ DIST-wx main
        deb-src http://apt.wxwidgets.org/ DIST-wx main  
  3. Run the this command to update your local copy of the package meta-data.
        sudo apt-get update  
  4. You can now use your favorite package selection tool to install or upgrade the wxWidgets and wxPython packages. Here's how to do it with apt-get:

        sudo apt-get install python-wxgtk2.8 python-wxtools python-wxaddons wx2.8-i18n 

    These packages (and their dependencies) will replace earlier versions of wxPython and wxGTK in the same ReleaseSeries that may have been installed previously.

Supported Distributions and Architectures

There are currently packages in the repository for these Ubuntu releases and architectures:

Release

DIST name

Architectures

Python Versions

Ubuntu 6.06

dapper

i386, amd64

2.4

Ubuntu 6.10

edgy

i386, amd64

2.4, 2.5

Ubuntu 7.04

feisty

i386, amd64

2.4, 2.5

Debian 4.0

etch

i386, amd64

2.4

Notes

  • When multiple Python versions are listed in the table above then that means that the wxPython package supports all of the listed versions of Python at the same time. This is accomplished using the pycentral debhelper, so the the wxPython package is only built this way if pycentral is available and if it says that more than one version of Python should be supported.
  • If you don't see the release or architecture that you need here you can get the source package and build your own set of binary packages. See BuildingDebianPackages for a how-to.

  • This repository only contains packages for the UnicodeBuild of wxWidgets. If you need the ansi build instead then you can use the old repository until the new one is updated to include packages for the ansi build too. If you don't know which you need then you probably want the Unicode build (this is what is included in the main distro repositories,) so just use the instructions detailed above. Otherwise you can use this repository:

        deb http://apt.tt-solutions.com/debian/ etch main 
    or
        deb http://apt.tt-solutions.com/ubuntu/ dapper main 
    (or use 'edgy' or 'feisty' in place of 'dapper' if you are using those releases) and get the digital signature from:
        curl http://www.tt-solutions.com/vz/key.asc | apt-key add -  

InstallingOnUbuntuOrDebian (last edited 2011-05-12 02:20:33 by c-98-246-90-205)

NOTE: To edit pages in this wiki you must be a member of the TrustedEditorsGroup.