如何才能完全卸载perlbrew?

发布于 2024-09-24 03:23:08 字数 76 浏览 0 评论 0原文

我很喜欢它,但我怀疑它会引起一些问题。我知道我可以使用 perlbrew off 但我想完全删除它。我该怎么做?

I'm lovin' it, but I suspect it causes some problem. I know I can use perlbrew off but I would like to completely remove it. How do I do that?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

獨角戲 2024-10-01 03:23:08

不幸的是,Perl 没有卸载程序,所以一般的答案是您必须找到这些文件并删除它们。但是,你想删除什么?只是脚本和模块,还是它安装的所有内容?通过以下方式查找您的 perlbrew 位置:

perldoc -l perlbrew
perldoc -l App::perlbrew

如果您想卸载已安装的所有内容,则必须删除 perlbrew 的 $ROOT 目录,即 ~/perl5/perlbrew 除非您更改了某些内容。

此外,如果您修改了 shell 配置文件以加载 perlbrew 配置文件,则必须删除那里的 perlbrew 垃圾。

Perlbrew 确实是一个可以完成简单任务的流畅界面。它安装了一堆 perls 并移动到它们的符号链接。我在没有符号链接的情况下做了类似的事情。请参阅我的链接到每个版本的工具。 发表在 The effective Perler 上。

我应该指出,我并不是真的反对 perlbrew,但我认为对于那些已经知道自己在做什么并且知道 perlbrew 只是为他们自动化的人来说,它是一个工具。我认为对于那些不想学习安装 Perl 的简单步骤的人来说,它不应该是一个拐杖。

Perl doesn't have an uninstaller, unfortunately, so the general answer is that you have to find the files and remove them. But, what do you want to remove? Just the scripts and modules, or everything that it installed? Find your perlbrew locations with:

perldoc -l perlbrew
perldoc -l App::perlbrew

If you want to uninstall everything that in installed, you have to remove perlbrew's $ROOT directory, which is ~/perl5/perlbrew unless you changed something.

Additionally, if you modified your shell config files to load the perlbrew config files, you have to remove the perlbrew droppings there.

Perlbrew is really a slick interface to a simple task. It installs a bunch of perls and moves around symlinks to them. I do something similar without the symbolic links. See my Make links to per-version tools. post on The Effective Perler.

I should note that I don't really have anything against perlbrew, but I think its a tool for people who already know what they are doing and know what perlbrew is merely automating for them. I don't think it should be a crutch for people who want to not learn the very easy steps to installing a perl.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文