RapidApp::Manual::Installation - Installing RapidApp on a new system
RapidApp is a standard CPAN package and can be installed in the standard manner:
cpanm RapidApp
RapidApp does have a lot of dependencies so be prepared for this to take a while.
If you are new to perl and you don't have cpanm (or know what it is) is, or if you would like to play with RapidApp without messing with your main system perl, see the next section for installation with perlbrew.
cpanm
The following is the typical series of commands to run to install a fresh version of perl into your home directory using perlbrew. This isn't specific to RapidApp, but perl in general. See http://perlbrew.pl for more info on the perlbrew project.
Run the following commands on any Unix system (including Linux and Mac) to install a fresh perlbrew and RapidApp:
wget -O - http://install.perlbrew.pl | bash
Assuming the above worked, it should tell you to run this:
source ~/perl5/perlbrew/etc/bashrc
Now you have the perlbrew command and you can install a version of perl. To see the available versions, you can run perlbrew available. Choose one from the list and install it. RapidApp should work with any version, but at the time of this writing, perl 5.16.x seems to have the fewest issues.
perlbrew
perlbrew available
perlbrew install perl-5.16.3
The above command may take a while. Once it completes, make it the active perl and install cpanm
perl
perlbrew switch perl-5.16.3 perlbrew install-cpanm
Now both perl and cpanm should point to the new perlbrew version within your shell (as long as you source their bashrc file). To remember this for your account for next time, do something like the following:
echo -e "\nsource ~/perl5/perlbrew/etc/bashrc" >> ~/.bash_profile
Now you can install RapidApp:
To recap the series of commands to install perlbrew+RapidApp on most Unix-based systems, if you are feeling brave, you can copy and paste the following into your shell to do it all in one swoop:
wget -O - http://install.perlbrew.pl | bash && \ source ~/perl5/perlbrew/etc/bashrc && \ echo -e "\nsource ~/perl5/perlbrew/etc/bashrc" >> ~/.bash_profile && \ perlbrew install perl-5.16.3 && \ perlbrew switch perl-5.16.3 && \ perlbrew install-cpanm && \ cpanm RapidApp && \ echo "RapidApp installed - run rapidapp.pl to bootstrap a new app"
This can take in the neighborhood of an hour, depending on the speed of your system. Assuming everything worked, you should see this as the last line of the output:
RapidApp installed - run rapidapp.pl to bootstrap a new app
RapidApp::Manual
RapidApp::Manual::Bootstrap
To install RapidApp, copy and paste the appropriate command in to your terminal.
CPAN shell
perl -MCPAN -e shell install RapidApp
For more information on module installation, please visit the detailed CPAN module installation guide.