I've hit a wall just after starting to learn perl. Mainly when I try to install packages it seems to install fine but then I try to use the Linux bash shell commands and it gives me the message
bash: cpanm: command not found...This is one of the ways I tried to install cpanminus
downloaded package from http://search.cpan.org/dist/App-cpanminus/ navigated to download folder typed: tar zxf App-cpanminus-1.7004.tar.gz cd App-cpanminus-1.7004/ perl Makefile.PL make make test make install
The following is the CUI Screen readout
[IrishMonk@localhost ~]$ cd Downloads/ [IrishMonk@localhost Downloads]$ cd App-cpanminus-1.7004/ [IrishMonk@localhost App-cpanminus-1.7004]$ perl Makefile.PL Generating a Unix-style Makefile Writing Makefile for App::cpanminus Writing MYMETA.yml and MYMETA.json [IrishMonk@localhost App-cpanminus-1.7004]$ make Skip blib/lib/App/cpanminus.pm (unchanged) Skip blib/lib/App/cpanminus/fatscript.pm (unchanged) cp bin/cpanm blib/script/cpanm /usr/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/cpanm Manifying blib/man1/cpanm.1 Manifying blib/man3/App::cpanminus.3pm Manifying blib/man3/App::cpanminus::fatscript.3pm [IrishMonk@localhost App-cpanminus-1.7004]$ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/happy_cpantesters.t .. 1/1 # App::cpanminus/1.7004 t/happy_cpantesters.t .. ok All tests successful. Files=1, Tests=1, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.03 cusr 0.00 csys = 0.07 CPU) Result: PASS [IrishMonk@localhost App-cpanminus-1.7004]$ make install Appending installation info to /home/IrishMonk/perl5 /lib/perl5/i386-linux-thread-multi/perllocal.pod [IrishMonk@localhost App-cpanminus-1.7004]$ cpanm bash: cpanm: command not found... Similar command is: 'cpan' [IrishMonk@localhost App-cpanminus-1.7004]$
In reply to cpanminus installing but not working by IrishMonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |