[Pdx-pm] Remove Perl

schwern at pobox.com schwern at pobox.com
Thu Mar 6 08:15:08 CST 2003

On Wed, Mar 05, 2003 at 01:33:15PM -0800, Joshua Keroes wrote:
> Friend installed Perl 5.8.0 over Debian's 5.6.1 package.
> He changed his mind and went back to the package when
> he realized that apt-get would give him problems after
> his install.
> How does he completely remove the 5.8.0 install?

Step -1:  Install Perl in /usr/local/perl5.8.0
Step  0:  Symlink /usr/local/perl5.8.0/bin/* to /usr/bin
Step  1:  Remove above symlinks
Step  2:  Hard link /usr/bin/perl to /usr/bin/perl5.6.1
Step  2a: Alternatively, simply reinstall the Debian perl-base package.
Step  3:  rm -rf /usr/local/perl5.8.0/

If you follow these easy steps, there's no problem uninstalling Perl.

Or you could make a dpkg out of 5.8.0 the same as Debian does in unstable.

Or you could use something like GNU stow.

If you skipped step -1 and installed it straight into /usr, well... go to
remedial sysadmin school.

There is one way out.  Re-run 'make install' for 5.8.0, capture the output.
In that output should be the paths of everything which was installed.
Remove all that.  Reinstall the Debian package.

More information about the Pdx-pm-list mailing list