卸载 Haskell 平台
在 /usr/local 下创建目录为 haskell-platform (按照说明建议)后,我将前缀拼写错误,当我运行配置时,我将其拼写为 /usr/loca ,但直到后来才注意到。我没有将被修改的目录留在那里,而是将其移动到正确的位置。当然,一切都破裂了。结果发现 /usr/loca 被嵌入到各处。
然后我删除了 Synaptic ghc6(这是 ubuntu 10.04,以及运行 6.12.1/2010.1 的说明日)。当我重新安装时,它仍然认为软件包位于 /usr/loca ???我什至删除了 package.cache,但它是在文件路径中使用 /usr/loca 重新创建的,即使我在 /usr/local 上使用正确的路径运行配置也是如此。
这个前缀是从哪里来的呢?在这一点上,我宁愿尽快摆脱整个事情。我在哪里寻找要删除的碎片?维基或文档都没有讨论如何摆脱这个东西。 Mac 发行版中似乎有一个卸载程序,但我找不到 *nix 的卸载程序。
I mispelled the Prefix, after creating the directory under /usr/local as haskell-platform (suggested by the instructions), as /usr/loca when I ran configure, but didn't notice until later. Rather than leave a munged directory out there, I moved it to its proper location. Of course, it all broke. Turns out that /usr/loca is embedded all over the place.
I then Synaptic removed ghc6 (this is ubuntu 10.04, and the instructions day to run 6.12.1/2010.1). When I reinstalled, it still thinks that the packages are on /usr/loca ??? I even removed package.cache, but it was recreated with /usr/loca in the file paths, even when I run configure with the correct path on /usr/local.
Where is this prefix coming from? At this point, I'd just as soon get rid of the whole thing. Where do I look for the bits and pieces to delete? None of the wiki's or docs discuss how to get rid of this thing. There seems to be an Uninstaller in the Mac distro, but none that I can find for *nix.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
老问题,但我很确定答案是嵌入路径位于
~/.cabal
目录中的 cabal 配置文件中。Old question, but the answer, I'm pretty sure, is that embedded paths were in the cabal config file in the
~/.cabal
directory.这将完全删除使用 ghcup 安装的所有内容
This will completely remove everything installed with ghcup