View previous topic :: View next topic |
Author |
Message |
shadow n00b
Joined: 30 Jun 2002 Posts: 16 Location: ph
|
Posted: Thu Jul 25, 2002 10:25 am Post subject: perl MIME-Tools modules |
|
|
anybody know what to emerge to get MIME-Tools installed? i noticed that /usr/portage/dev-perl only has MIME-Base64 but no MIME-Tools... |
|
Back to top |
|
|
rojaro l33t
Joined: 06 May 2002 Posts: 732
|
Posted: Thu Jul 25, 2002 12:08 pm Post subject: |
|
|
perl features it's own rudimentary "package management" which is not as good as portage, and doesn't have an uninstallfunction too, but infact it's much more up to date than the perl portage tree. all perl modules are installed into the /usr/lib/perl5 tree - so the missing uninstall function isn't much of an issue as you can remove packages by simply deleting them.
to install new perl modules, perl provides an own shell to do so which you can invoke via the following command.
Code: | perl -MCPAN -e shell |
if you run this command for the first time, you'll need to configure a few things for this functionality which is done interactively (on which most questions are simply answered by pressing enter). perl basically asks which binaries it can use to fetch files from CPAN (Comprehensive Perl Archive Network), which CPAN-Servers it should use (you should select a mirror in your Country) and some other questions.
once you've configured it, you'll should update the CPAN module by running the following command.
Code: | install Bundle::CPAN |
it will check dependencies automatically and fetch, compile, configure whatever is nessecary. when this step is done type
to restart the CPAN shell application. To get a list of all available commands just type "help", but basically you'll probably need only two commands: the search function
and the install function
Code: | install packagename |
or
Code: | install Bundle::name |
E.g. for installing the MIME Tools you just need to run the following command
Code: | install MIME::Tools |
hope this helps. _________________ A mathematician is a machine for turning coffee into theorems. ~ Alfred Renyi (*1921 - †1970) |
|
Back to top |
|
|
shadow n00b
Joined: 30 Jun 2002 Posts: 16 Location: ph
|
Posted: Fri Jul 26, 2002 5:09 pm Post subject: |
|
|
coolness! thanks for your very reply it was very helpful |
|
Back to top |
|
|
|