Recently I have been messing around with setting up a mailserver (more on that later) and one of the steps in doing this was to install a spam filtering program. The one I chose "spamassassin" requires several perl modules to be installed. To do this I used CPAN.
Here is how I configured CPAN it and used it to install the modules I needed.
Start a CPAN 'shell'
To use CPAN you need to open a shell. To do this run the below command.
The first time you run CPAN, it will want to be configured. I just answer yes to the prompt and let it autoconfigure.
perl -MCPAN -e 'shell'
Upgrade CPAN
CPAN comes installed on slackware, but it is a good idea to update it when you first run it. Answer yes to connect to the internet, and follow the prompts to answer a few necessary questions. I just stick with the default answers.
cpan> install Bundle::CPAN
Get Help
If you get stuck use the "h" command to get help.
cpan> h
Install a Package
This is the meat of CPAN, installing a package. Just use this simple command.
cpan>install package_name
Exit CPAN
Once you are done installing your packages just type exit to quit CPAN.
cpan> exit
I know this is an easy one, but sometimes life is just that easy :-) . For more information on CPAN visit http://www.cpan.org
Archives Blog Listing
- 2012
- May
- April
- March
- February
- January
- 2011
- December
- November
- September
- August
- July
- June
- Understanding The Different CFC Instantiation Behaviours
- Dont Call Us PIIGS
- Be Careful With ColdFusion Date Validation
- CF9 CF8 Railo Multiserver Install Under JRUN
- Your Privacy vs Technology
- How To Install CouchDB On Slackware
- Fixing Retweet.js
- Programmers Put Down The Keyboard
- How To Create A Virtual CFIDE Directory Mapping In Apache
- May
- April
- March
- February
- January
- 2010
- December
- November
- October
- September
Tag Listing
- CFML
- Database
- Front End Design & Development
- Linux
- Other
- Tools & Testing