Remove .cpan folder from the home dir


A common question we get from cPanel administrators is whether it’s Ok to remove /home/.cpan since, on many servers, it tends to grow to a size exceeding 1G. The short answer is yes – that folder is used by cPanel and Perl, and contains perl module installation files.
If you find that yours is occupying too much disk space, delete it, and run the following commands:

perl -MCPAN -e shell
cpan> install Bundle::CPAN>
cpan> reload index
cpan> reload cpan
cpan> exit
/scripts/checkperlmodules –full

Just a note of interest here… is run by actual systems admins who work at this everyday. They have some really good articles on their site, please give them a look see 🙂


I am a g33k, Linux blogger, developer, student and Tech Writer for My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.