in reply to what should I do before using the cpan command ?

Inferring from the error message, you are attempting to update the system libraries as a user not having super-user privileges, so does this work for you ??
sudo perl -MCPAN -e shell
A user level that continues to overstate my experience :-))