Version 66 (modified by szabgab, 6 years ago) (diff)

remove the link to the Ubuntu repository that was not up to date anyway


Get Padre on Portable Strawberry Perl


Normally you could just install it as any other Perl module using the CPAN or CPANPLUS shell.

  $ cpan
  cpan> install Padre

You can try that or see further details here:

Subversion Quick Start Guide

(tested on Debian Lenny)

  • make sure your cpan works - make, gcc, etc
  • make sure you remove all traces of wxWidgets 2.6 from your system
  • install wxwidgets (2.8 or later) - cpan Alien::wxWidgets will download and compile and install it for you
  • install (or upgrade) Wx - cpan Wx
  • install Module::Install (if its not already there)
  • add the following settings to cpan
      o conf build_requires_install_policy yes ;  o conf commit
      o conf prerequisites_policy follow ; o conf commit
  • svn co
  • cd padre/trunk/Padre
  • sudo cpan .
  • ./


Linux in general

There is an experimental and quite old executable for Linux that can be downloaded from here: You need to unzip it and make it executable. When running it has an initial warning popup but then it seems to work.


Mandriva 2009.0 comes with pre-packaged Padre 0.10. New releases of Padre are quickly backported.


Fedora 10 is going to include Padre. Currently they have v0.10 packaged. F-10 comes with Wx Version: 0.81 wxWidgets 2.8.7

Source code

Padre is released as a CPAN package. You can download and install it using or CPANPLUS. The released versions can be seen here and here

As Padre has many dependencies probably the easies is, to install the binary distribution where available from the distributions (Mandriva, Fedora) and then use to upgrade.

If this is not possible read on:

The difficult part will be to install some of the prerequisites:

Mattia Barbon did a great job with them but they are still difficult to install. Any help with this would be welcome. See the wxPerl web site and mailing list.

Additional help can be provided by:

  1. Describing the results you have on various operating systems
  2. Asking the various downstream distributors to include Padre
  3. Creating a stand-alone version using PAR

Help in any of those is appreciated. Please post links to any conversation you might have with the distro maintainers so others can follow up.

MS Windows

Strawberry Perl

Download Strawberry Perl from here:

On Strawberry Perl 5.10, starting from version you can install Padre by starting the CPAN shell and typing

  cpan> install Padre

On previous releases of Strawberry Perl 5.10 you can install it following these steps

  cpan> look Alien::wxWidgets
  $ perl Makefile.PL
  $ dmake
  $ dmake test
  $ dmake install
  $ exit
  cpan> look Wx
  $ perl Makefile.PL
  $ dmake
  $ dmake test
  $ dmake install
  $ exit
  cpan> install Padre

Once it is installed you can start Padre either by

Start/Run and type in padre

or by creating a shortcut and then clicking on it.

When creating the shortcut use the following as command:

C:\strawberry\perl\bin\wperl.exe C:\strawberry\perl\bin\padre

note we are using wperl here instead of perl in order to avoid the extra command shell window.

Active Perl

For Active Perl there are prebuilt PPM versions of Alien::wxWidgets and Wx (aka. wxPerl) and can be installed from

Actually you should install as many of the dependencies of Padre as you can using ppm. then open the cpan client and

  cpan> install Padre

Oren Maurer reported that you might need to force it:

  cpan> force install Padre

at some point you might encounter an error like this:

 Running install for module 'Padre'
 Running make for S/SZ/SZABGAB/Padre-0.06.tar.gz
 CPAN: Digest::SHA loaded ok (v5.45)
 Fetching with LWP:
 Alert: While trying to 'parse' YAML file
 with 'YAML::XS' the following error was encountered:
  Usage: YAML::XS::LibYAML::Load(yaml_str) at
  line 70.

The reported solution was this:

  [reach the cpan shell:]
  cpan> o conf yaml_module ''
  cpan> o conf commit
  commit: wrote 'C:\Perl\lib/CPAN/'
  cpan> q

(See: and )


The next Debian release may have wxPerl in it, albeit with an old version of wxWidgets.

until then, the key is to uninstall all wxwidgets and wxperl related packages, and to install enough of the -dev packages to allow Alien::wxWidgets to build version 2.8.8. Once that works, cpan install Wx and from there Padre should install (see the Subversion quick install instructions above for more)


Installation of Alien::wxWidgets fails, because configure can't find gtk.h. Simply do:

apt-get install libwxgtk2.8-0 libwxgtk2.8-dev libwxbase2.8-dev libwxbase2.8-0

and then proceed to "install Wx" with CPAN, and everything should be fine.


Fedora has wxPerl since at least FC8

Fedora 8 has

  • wxGTK-2.8.7
  • perl-Wx-0.74
  • perl-Alien-wxWidgets-0.31

This should be sufficient:

# rpm -ivh  perl-Wx perl-Alien-wxWidgets

Fedora 9 has

  • wxGTK-2.8.7
  • perl-Wx-0.81
  • perl-Alien-wxWidgets-0.32

This should be sufficient:

# rpm -ivh  perl-Wx perl-Alien-wxWidgets


Mandriva 2008.1

has these:

  • perl-Alien-wxWidgets Version: 0.33-2mdv2008.1
  • perl-Wx Version: 0.81-1mdv2008.1

To install Padre follow these:

$ urpmi perl-Alien-wxWidgets
$ urpmi perl-Wx
$ cpan
cpan> install Padre


Open Suse

On the wish list:



Has Wx version 0.82

   g-cpan -i Padre

should work but you need a threaded perl. If you have trouble installing please file a bug here or on depending where do you think the problem is.

More detailed instructions:

  1. Make sure your perl is compiled with USE="ithreads" ( generally in /etc/make.conf ) and emerge perl
  2. If you don't have g-cpan installed, emerge app-portage/g-cpan
  3. g-cpan -i Padre

g-cpan often is incapable of properly detecting dependencies. Installing from source often works better:

   emerge dev-perl/Alien-wxWidgets dev-perl/wxperl
   perl -MCPAN -e 'install Padre'

Note: this method is only recommended if g-cpan fails to recursively install dependencies that the CPAN shell would otherwise identify.

Installing Padre from the CPAN shell may upgrade core modules provided by the core Gentoo perl install, so be prepared to downgrade those modules when emerging other packages or upgrading the system. A 'force install Padre' afterwards can help upgrade the conflicts again.

Also, one or more of the modules may require perl 5.10. This is not a part of any portage tree as of yet and can only be found in the perl overlay. See Gentoo Bug#206455.


On OS X, you cannot use the 'perl' executable, you have to use the 'wxPerl' executable (see this thread regarding wxPerl invocation).

*TODO: much more detail required - what does this mean for running 'cpan .' to auto install dependencies?*

OS X 10.4 has wxPerl 0.22, 10.5 has a more recent version (0.6x for some x)

Aside from building from source, you can also install newer versions of Wx on OS X using a package manager:


fink install wxmac28

Mac Ports

port install wxWidgets

wxWidgets and wxPerl

If you have trouble you can check which version of wxWidgets you have:

$ perl -MWx -le'print  "Wx Version: $Wx::VERSION " . Wx::wxVERSION_STRING()'

and on Mac:

$ wxPerl -MWx -le'print  "Wx Version: $Wx::VERSION " . Wx::wxVERSION_STRING()'

We use Wx 0.87 and wxWidgets 2.8.8 so you probably should have those (or newer) too.

When installing Alien::wxWidgets it will ask if you want to compile wxWidgets. Do you want to fetch and build wxWidgets from sources? If you don't have any installed or if you have an old version (< 2.8.8) then you should answer yes. It will try to download the source code of wxWidgets which is big and the download often fails.

To get around that you can download the file manually and put it in the extracted directory of Alien::wxWidgets.

Something like this:

 $ cd /tmp
 $ wget
 $ cpan
 cpan> look Alien::wxWidgets
 $ cp /tmp/wxWidgets-2.8.8.tar.gz .
 $ perl Makefile.PL
 $ make
 $ make test
 $ make install
 $ exit

wxPerl on Linux distributions

Attachments (1)

Download all attachments as: .zip