Since perl does not have a “make uninstall” purpose, you need to delete the files manually. The best way to do this is to get a complete list of installed files. For this you need:
- Create a temporary directory e.g.. / Usr / local / src / temp / perl
- Edit the Makefile in the perl source directory (I hope you didn’t delete it) and add the path from step 1 above to the beginning of all installation lines (e.g. bin = ..., scriptdir = ..., INSTALLPREFIXEXP = ...)
- Run
make install - Go to temp directory and run:
find . -type f > filelist.txt find . -type f > filelist.txt - Edit this file and make sure you really want to delete eveything there (you will ruin your system very badly if you ruin it)
- Run
cat filelist.txt | xargs rm cat filelist.txt | xargs rm - Manually delete the perl5 library directory (usually with something like / usr / local / lib 64 / perl5 - you can find it in filelist.txt)
What is it, everything has passed.
Next time, select it in a separate directory and just bind it :-)
source share