# cpanm Crypt::GPG ! ! Can't write to /usr/local/share/perl5/5.32 and /usr/local/bin: Installing modules to /home/xuo/perl5 ! To turn off this warning, you have to do one of the following: ! - run me as a root or with --sudo option (to install to /usr/local/share/perl5/5.32 and /usr/local/bin) ! - Configure local::lib in your existing shell to set PERL_MM_OPT etc. ! - Install local::lib by running the following commands ! ! cpanm --local-lib=~/perl5 local::lib && eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib) ! Crypt::GPG is up to date. (1.64) #### /home/xuo/perl5 152 # fn pm | grep -i gpg ./man/man3/Crypt::GPG.3pm ./lib/perl5/Crypt/GPG.pm #### # perlbrew exec perl /mnt/Shared/debuggingPerlGpg.pl Can't locate Crypt/GPG.pm in @INC (you may need to install the Crypt::GPG module) (@INC contains: /home/xuo/perl5/perlbrew/perls/perl-5.36.1/lib/site_perl/5.36.1/x86_64-linux /home/xuo/perl5/perlbrew/perls/perl-5.36.1/lib/site_perl/5.36.1 /home/xuo/perl5/perlbrew/perls/perl-5.36.1/lib/5.36.1/x86_64-linux /home/xuo/perl5/perlbrew/perls/perl-5.36.1/lib/5.36.1) at /mnt/Shared/debuggingPerlGpg.pl line 6. BEGIN failed--compilation aborted at /mnt/Shared/debuggingPerlGpg.pl line 6. Command terminated with non-zero status. Command [perl /mnt/Shared/debuggingPerlGpg.pl] terminated with exit code 2 ($? = 512) under the following perl environment: Current perl: Name: perl-5.36.1 Path: /home/xuo/perl5/perlbrew/perls/perl-5.36.1/bin/perl Config: -de -Dprefix=/home/xuo/perl5/perlbrew/perls/perl-5.36.1 -Aeval:scriptdir=/home/xuo/perl5/perlbrew/perls/perl-5.36.1/bin Compiled at: Aug 24 2023 20:51:38 perlbrew: version: 0.98 ENV: PERLBREW_ROOT: /home/xuo/perl5/perlbrew PERLBREW_HOME: /home/xuo/.perlbrew PERLBREW_PATH: /home/xuo/perl5/perlbrew/bin:/home/xuo/perl5/perlbrew/perls/perl-5.36.1/bin PERLBREW_MANPATH: /home/xuo/perl5/perlbrew/perls/perl-5.36.1/man #### perlbrew exec perl /mnt/Shared/debuggingPerlGpg.pl /home/xuo/perl5/perlbrew/bin/perlbrew: Perl lib version (5.36.1) doesn't match executable '/usr/bin/perl5.32.1' version (5.32.1) at /home/xuo/perl5/perlbrew/perls/perl-5.36.1/lib/5.36.1/x86_64-linux/Config.pm line 62. Compilation failed in require at /home/xuo/perl5/perlbrew/bin/perlbrew line 4. BEGIN failed--compilation aborted at /home/xuo/perl5/perlbrew/bin/perlbrew line 4.