Pear-Trading / Foodloop-Server

1 stars 0 forks source link

‘Can't write to /usr/local/share/perl/5.30.0 and /usr/local/bin: Installing modules to /home/<username>/perl5’ when running `cpanm` commands #144

Closed Rumperuu closed 3 years ago

Rumperuu commented 3 years ago

Install local::lib by running the following commands:

  cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)

You will have to do every time you open a new Terminal window. To make it permanent, follow these steps.