I tried to upgrade the perl version from 5.22.1 to 5.26. But unfortunately it installed at /usr/local/bin But it supposed to be in /usr/bin
I have both versions of perl in system. When I am trying to use bioperl modules, it was saying can't find module, install. But in actual I had all required modules. I worked with those modules earlier. How can I rectify this problem.
In actual what I did was
cp perl 5.26.0
./Configure -de -Desuches
make
make tests
make install
I did with root access
When I type
which perl
It was showing
usr/local/bin/perl
And cpan installed at
usr/local/lib/cpan
Why it happened?