wiki:DownloadUbuntu

Version 13 (modified by azawawi, 4 years ago) (diff)

Added detailed local::lib instructions

Ubuntu Installation Instructions

Installation using the Package Manager

Ubuntu 10.10 contains Padre 0.63, Ubuntu 10.04 contains Padre 0.50

sudo apt-get install padre

Use apt-cache to find out which plug-ins are available:

apt-cache -n search padre

On Ubuntu 10.04, you can install the following plug-ins:

sudo apt-get install libpadre-plugin-css-perl libpadre-plugin-html-perl libpadre-plugin-spellcheck-perl libpadre-plugin-xml-perl
libpadre-plugin-autoformat-perl libpadre-plugin-vi-perl libpadre-plugin-nopaste-perl

Because of a packaging error, padre does not work out of the box on Ubuntu 10.10. One possible workaround is to install wx-perl from CPAN:

sudo cpan Alien::wxWidgets
sudo cpan Wx

Installation from CPAN

This was checked for Ubuntu 9.04 and 10.10 but it should work for later versions as well.

  • sudo apt-get install libwxgtk2.8-0 libwxgtk2.8-dev libwxbase2.8-dev libwxbase2.8-0 g++
  • download and setup local::lib ( http://search.cpan.org/dist/local-lib/ )
    # in your $HOME
    cd $HOME
    
    perl -v
    # This is perl, v5.10.1 (*) built for i686-linux-gnu-thread-multi
    # This is called system perl
    
    # Install local::lib into your $HOME
    wget http://search.cpan.org/CPAN/authors/id/G/GE/GETTY/local-lib-1.006007.tar.gz
    tar xfz local-lib-1.006007.tar.gz
    cd local-lib-1.006007/
    perl Makefile.PL --bootstrap
    make test && make install
    cd $HOME
    
    # Add local::lib to your .bashrc
    echo 'eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)' >>~/.bashrc
    
    # Optional step if you do not want to close your terminal
    eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib)
    
    # Install cpan minus as a normal user. cpanm is a modern CPAN client. 
    cpan App::cpanminus
    
    # Optional: remove local::lib folder
    rm -rf local-lib-1.006007
    
    
  • configure the cpan client setting the prerequisite_policy to 'follow' and to add a CPAN server in the urllist:
    • cpan
    • conf prerequisites_policy follow
    • conf urllist http://cpan.yahoo.com/
    • conf save
  • cpan Alien::wxWidgets
  • cpan Wx
  • cpan Padre

There are certain places where CPAN.pm is still asking for confirmation "is just needed temporarily during building or testing. Do you want to install it permanently (y/n) [yes]".

This can be eliminated by setting build_requires_install_policy to 'yes' in the CPAN client:

  • conf build_requires_install_policy yes
  • conf save

Still Not Working?

Following the instructions on this page did not lead to a successful installation?

Contact us.

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.