Differences between revisions 1 and 2
Revision 1 as of 2007-07-13 20:57:35
Size: 2614
Editor: 69-30-77-125
Comment:
Revision 2 as of 2007-07-13 23:21:45
Size: 2753
Editor: 69-30-77-125
Comment:
Deletions are marked like this. Additions are marked like this.
Line 22: Line 22:
    1. You can now use your favorite package selection tool to install or upgrade the wxWidgets and wxPython packages.     1. 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 }}}

Installing 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. So instead of making all the Ubuntu and Debian users who like to only use the software repositories have to wait until the distribution folks update the main repositories, we have our own 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 

Supported Distributions and Architectures

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

Release

DIST name

Architectures

Python Version

Ubuntu 6.06

dapper

i386, amd64

2.4

Ubuntu 6.10

edgy

i386, amd64

2.4

Ubuntu 7.04

feisty

i386, amd64

2.5

Notes

  • 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.

  • It is planned to add one or more sets of packages for Debian soon.
  • Support for packages that can support multiple versions of Python at the same time is on the way. This will likely be only for new wx 2.8.x releases and won't be backported to earlier wx releases. Also, the older Ubuntu/Debian releases do not have the needed support infrastructure by default for multiple Python versions, so it won't be supported for them either.

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.