CPAN is your friend. You can either use the cpan script or the CPAN Perl module. Information about the cpan script is available in the man page (man cpan). To use the module (my preferred method) you do:
Code:
sudo perl -MCPAN -e shell
If it is the first time you have done that you will have to configure it, in most cases you can just accept the defaults. After the configuration has completed you will be in the cpan prompt:
here you can install modules (amongst other things). For example to install LWP::Bundle you would type:
Code:
install LWP::Bundle
and it will set off fetching, building and installing that module and any dependancies. 'install' is one of many available commands, type help for more info.