1= CPAN Installation Instructions =
2
3Padre is released as a CPAN package. You can download and install it using {{{cpan}}}, {{{cpanm}}} or CPANPLUS.
4The released versions can be seen here [http://search.cpan.org/dist/Padre/] here [http://kobesearch.cpan.org/dist/Padre]
5and here [https://metacpan.org/release/Padre] depending on your preferences.
6
7As Padre has many dependencies probably the easiest is to install the binary distribution
8where available from the vendor (Mandriva, Fedora, Debian, FreeBSD) and then use {{{cpanm}}} to upgrade.
9
10If this is not possible read on.
11
12== Install from CPAN ==
13
14=== Strawberry Perl on Windows ===
15
16On Strawberry Perl you should be able to install/upgrade Padre by just opening the "cmd"
17and typing
18
19{{{
20c:> cpan Padre
21}}}
22
23=== Active Perl in Windows ===
24
25Probably the same as for Strawberry Perl but you might first need to install the C compiler they supply.
26
27=== Linux ===
28
29On Linux you should probably start by installing from the binary repository of your distribution
30(see below) and then upgrading from CPAN using local::lib.
31
32That part starts by installing local::lib using the [https://metacpan.org/module/local::lib#The-bootstrapping-technique  Bootstrapping technique]
33and once that's done type
34
35{{{
36$ cpan Padre
37}}}
38
39
40== Common Problems ==
41
42=== Corporate Proxy ===
43
44People behind a (corporate) proxy will not be able to access the CPAN servers directly.
45First they need to tell the CPAN client which proxy to use.
46For this, launch the cpan client by typing '''cpan''' on the command line.
47You should get a cpan> prompt and in there type the following: (obviously replace
48the address of the proxy server with the one you have in your company).
49
50{{{
51cpan> o conf http_proxy http://proxy.corporate.com:8080
52cpan> o conf commit
53cpan> q
54}}}
55
56Once you did this the cpan command should work.
57
58=== WxWidgets and WxPerl ===
59The difficult part is sometimes to install some of the prerequisites:
60
61 * Installing wxWidgets (that [http://search.cpan.org/dist/Alien-wxWidgets/ Alien::wxWidgets] tries to solve)
62 * Installing wxPerl (the [http://search.cpan.org/dist/Wx/ Wx] distro) from CPAN.
63
64Mattia Barbon did a great job with them but they still may be difficult to install in some cases.
65
66
67== Platform-specific Instructions ==
68 * [wiki:DownloadDebian#Installation_from_CPAN Debian]
69 * [wiki:DownloadFedora#Installation_from_CPAN Fedora]
70 * [wiki:DownloadFreeBSD#Installation_from_CPAN FreeBSD]
71 * [wiki:DownloadMandriva#Installation_from_CPAN Mandriva]
72 * [wiki:DownloadNetBSD#Installation_from_CPAN NetBSD]
73 * [wiki:DownloadUbuntu#Installation_from_CPAN Ubuntu]
74 * [wiki:DownloadWindows#Installation_from_CPAN Windows]
75