Until Debian 8 (known as Jessie) there was a package for the Perl-IDE Padre. But at the time there is no working Package available for Debian 9 testing/stretch, because there seems to be a bug that prevents modern Perl to compile the IDE version 1.00. At CPAN, the available version is 1.00, but at github there is a bug-fixed Version 1.01 which works really nice, even though we had to do little more work previously:

Install some dependencies needed by Padre Makefile.PL

apt-get install libmodule-install-perl \
                liblocale-msgfmt-perl \
                libalien-wxwidgets-perl 

After cloning the Padre-repository you can run the Makefile.PL, and the script is showing you the rest of the required modules:

git clone https://github.com/PadreIDE/Padre.git && cd Padre
perl Makefile.PL

...
Warning: prerequisite Algorithm::Diff 1.19 not found.
Warning: prerequisite App::cpanminus 0.9923 not found.
Warning: prerequisite Capture::Tiny 0.06 not found.
Warning: prerequisite Class::Adapter 1.05 not found.
Warning: prerequisite Class::Inspector 1.22 not found.
...
Warning: prerequisite Wx 0.9916 not found.
Warning: prerequisite Wx::Perl::ProcessStream 0.32 not found.
Warning: prerequisite Wx::Scintilla 0.39 not found.
...

Most of that missing modules are available via the Debian repository, there is no need to install from CPAN.

apt-get install libalgorithm-diff-xs-perl \
                libalgorithm-diff-perl \
                cpanminus \
                libcapture-tiny-perl \
                libclass-adapter-perl \
                libclass-inspector-perl \
                libclass-xsaccessor-perl \
                libdbd-sqlite3-perl \
                libdbi-perl \
                libdevel-dumpvar-perl \
                libdevel-refactor-perl \
                libfile-copy-recursive-perl \
                libfile-find-rule-perl \
                libfile-sharedir-perl \
                libfile-pushd-perl \
                libipc-run-perl \
                libmodule-build-perl \
                libmodule-manifest-perl \
                libmodule-starter-perl \
                liborlite-perl \
                liborlite-migrate-perl \
                libpod2-base-perl \
                libppi-perl \
                libppi-xs-perl \
                libppix-editortools-perl \
                libppix-regexp-perl \
                libparse-errorstring-perl-perl \
                libparse-exuberantctags-perl \
                libpod-abstract-perl \
                libpod-pom-perl \
                libprobe-perl-perl \
                libsort-versions-perl \
                libtemplate-tiny-perl \
                libtest-exception-perl \
                libtest-mockobject-perl \
                libtest-nowarnings-perl \
                libtest-script-perl \
                libtest-warn-perl \
                libtest-pod-perl \
                libtest-pod-coverage-perl \
                libtext-diff-perl \
                libtext-findindent-perl \
                libtext-patch-perl \
                libwx-perl \
                libwx-perl-processstream-perl \
                libterm-readline-gnu-perl \
                libwx-scintilla-perl

If you rerun the Makefile.pl there are two modules which are not in the Debian repository:

perl Makefile.PL
...
Warning: prerequisite Debug::Client 0.29 not found.
Warning: prerequisite Parse::Functions 0.01 not found.
...

We have to install these Modules via cpanminus

cd ~
cpanm Parse::Functions
cpanm Debug::Client

Debug::Client fails, there seems to be the bug, that the whole Padre-IDE is not going to work. In fact: only one Test failed, some weeks ago I forced the Installation of the module and everything works fine. I had no stability issues till now:

cpanm --force Debug::Client

Now you can run the installation procedure:

cd Padre
make
make test
make install

If you don’t want to use a GUI-based editor for development, the following talk will show you cool vim-plugins for Perl-development: Youtube: YAPC::2016 Damian Conway - VIM as a Perl IDE


Next post: Fairphone2 - half a year of crashes

Previous post: FreeBSD auf dem eeePC - ernüchternd