Reputation: 11160
How can I change the cpanminus default build and download directory? Its default location is ~/.cpanm
.
I already know how to change this in cpan, but I wish to know if this can also be configured in cpanminus.
I should also mention that I don't have root access.
Upvotes: 0
Views: 588
Reputation: 1
If you get "No space left to device"
rm -rf /root/.cpan/build
ln -s /somewhere/with/space /root/.cpan/build
proceed as usual
Upvotes: 0
Reputation: 118128
Fetched files are unpacked in
~/.cpanm
and automatically cleaned up periodically. You can configure the location of this with thePERL_CPANM_HOME
environment variable.
Whether you have root access is irrelevant.
Upvotes: 3