< Project:Perl

Project:Perl/perl-cleaner

Intro

app-admin/perl-cleaner is a tool that cleans up old perl installations, attempting to emerge --oneshot packages left over from a perl upgrade, as well as any packages that linked against the old version of libperl.so.

Usage

See the table below for possible options to pass to perl-cleaner.

Note
perl-cleaner needs at least one parameter from the list below. The "ask" parameter is optional.


CODE Usage of perl-cleaner
<syntaxhighlight lang="bash">
# perl-cleaner <OPTIONS> (ask)
</syntaxhighlight>


OptionDescription
modulesrebuild perl modules for old installs of perl
allmodulesrebuild perl modules for any install of perl
libperlrebuild anything linked against libperl
ph-cleanclean out old ph files from a previous perl
phupdateupdate existing ph files, useful after an upgrade to system parts like the kernel
phallclean out old ph files and run phupdate
allrebuild modules, libperl linkages, clean ph files, and rebuild them, excluding your current perl version
reallyallrebuild modules for any install of perl, libperl linkages, clean ph files, and rebuild them. This option does not exclude your current perl version


Note
Adding the parameter ask to the parameterlist of perl-cleaner will make perl-cleaner pass the --ask option to emerge commands so that you will be asked by portage before taking any actions.

Troubleshooting

What to do if perl-cleaner fails... tbd

This article is issued from Gentoo. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.