Download Strawberry Perl
You should be able to install Padre by just tying
c:\> cpanm Padre
on the command window (cmd).
However, before you do that, you may wish to install Alien::wxWidgets and Wx as those can sometime cause a bit of a headache.
C:\> cpanm Alien::wxWidgets C:\> cpanm Wx
Please note, each of these command can take quite some time depending on your system.
If the above does not work you can try an even more manual approach:
c:\> cpanm --look Alien::wxWidgets $ perl Makefile.PL $ dmake $ dmake test $ dmake install $ exit c:\> cpanm --look Wx $ perl Makefile.PL $ dmake $ dmake test $ dmake install $ exit c:\> cpanm 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.batnote we are using wperl here instead of perl in order to avoid the extra command shell window.
Note: installing Padre in a fresh install of Strawberry Perl can lead to weird behaviour, like preferences not being saved on exit (due to Padre crashing on exit). See the comments for #258 for a workaround.
Note: For updating Padre on Strawberry Perl you can use the CPAN shell client of Strawberry:
c:\> cpan cpan> upgrade Padre
To find whether there's an update - you can do:
cpan> i /Padre/(or simply follow the mailing list ;-)
Troubleshooting
If one of the dependencies fails to install, there are a number things you can do.
- Got to MetaCPAN, look for the module that failed to install and check if the problem has been reported. If, please report it.
- If the problem is only in the tests you could install the module while skipping the tests using cpanm --notest Module::Name
Still Not Working?
Following the instructions on this page did not lead to a successful installation?
We will do our best to help you. By letting us know that something does not work you will help us, too. When we know about it, we can improve this documentation and Padre itself.