macports 修复/替换命令?

发布于 2024-08-17 07:20:12 字数 191 浏览 2 评论 0原文

我不小心删除了 /opt/local/bin/perl5.8.9 ,它似乎是 macports 编译的 perl 的主要二进制文件。

现在我有很多依赖于 perl5 的端口,但不想全部卸载并重新安装。

有没有办法修复或重新安装和更换端口? 或者 /opt/local/bin/xx 只是一个符号链接?如果是这样,原始二进制文件在哪里?

I accidentally removed /opt/local/bin/perl5.8.9 , which seems to be the main binary file for perl compiled by macports.

Now I have a lots of ports depending on perl5, but don't want to uninstall and reinstall all of them.

Is there a way to repair or reinstall and replace a port?
Or is /opt/local/bin/xx only a symlink? If so, where is the original binary?

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

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

发布评论

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

评论(1

凉宸 2024-08-24 07:20:12

我会尝试这个:

$ port -f uninstall perl5.8    # Force removal of perl5.8
$ port install perl5.8         # Install it again

I'd try this:

$ port -f uninstall perl5.8    # Force removal of perl5.8
$ port install perl5.8         # Install it again
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文