How to best clean old Perl installations directories
I upgraded Perl from Perl 5.12 to 5.14, activated perl 5.14 and installed all my perl modules as 5.14 Question: Inside: /opt/local/lib/perl5/ I have the following directories: 5.12.2/ 5.12.3/ 5.12.4/ 5.14.2/ 5.8.9/ site_perl/ vendor_perl/ Why where the Perl 5.12 directories not removed? Is there a safe way or proper way to removed these directories? Thanks --R ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: How to best clean old Perl installations directories
On Mon, Jul 2, 2012 at 9:54 AM, Rodolfo Aramayo raram...@gmail.com wrote: /opt/local/lib/perl5/ I have the following directories: [...] Why where the Perl 5.12 directories not removed? Is there a safe way or proper way to removed these directories? Are those directories empty? Do you still need any of the p5.12 ports? They wouldn't have been automatically removed by just installing the 5.14 versions. You should be able to see what ports are installed with: port installed p5.12-* You could then remove all of those, except for any that are deps of other installed ports with: port -p uninstall p5.12 The '-p' should keep the uninstall going even if there are some that can't be removed. In general, you should only interact with MacPorts installed files through the port command. It's typically best to not manually cleanup the opt directory. -- arno s hautala/-| a...@alum.wpi.edu pgp b2c9d448 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: How to best clean old Perl installations directories
Thanks and Yes I only use the MacPorts command line --R On Mon, Jul 2, 2012 at 9:43 AM, Arno Hautala a...@alum.wpi.edu wrote: On Mon, Jul 2, 2012 at 9:54 AM, Rodolfo Aramayo raram...@gmail.com wrote: /opt/local/lib/perl5/ I have the following directories: [...] Why where the Perl 5.12 directories not removed? Is there a safe way or proper way to removed these directories? Are those directories empty? Do you still need any of the p5.12 ports? They wouldn't have been automatically removed by just installing the 5.14 versions. You should be able to see what ports are installed with: port installed p5.12-* You could then remove all of those, except for any that are deps of other installed ports with: port -p uninstall p5.12 The '-p' should keep the uninstall going even if there are some that can't be removed. In general, you should only interact with MacPorts installed files through the port command. It's typically best to not manually cleanup the opt directory. -- arno s hautala/-| a...@alum.wpi.edu pgp b2c9d448 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users