Freya Ren Freya Ren - 7 months ago 27
Perl Question

how to uninstall perl on linux

I just installed perl on linux referring to http://learn.perl.org/installing/unix_linux.html

Using the command:

curl -L https://raw.githubusercontent.com/ranguard/installing-perl/master/scripts/install_perl_on_nix.sh | bash


Does anyone know how to remove the perl? Thanks.

Answer

Didn't you like it?

rm -rf ~/perl5

Then edit your ~/.bashrc file and find the line that says source /home/yourlogin/perl5/perlbrew/etc/bashrc and delete it.