简体   繁体   English

如何删除Stack安装的GHC副本?

[英]How do I remove copies of GHC that were installed by Stack?

Like the poster in this Reddit thread , I am running low on drive space and would like to get rid of some of the older versions of GHC that Stack installed for me. 就像该Reddit线程中的发布者一样 ,我的驱动器空间不足,并且希望摆脱Stack为我安装的一些较旧版本的GHC。 (I have five versions installed and they're taking up over 6 GB.) Is it safe just to remove the individual versions' folders from ~/.stack/programs/x86_64-osx , or is there a better way? (我安装了五个版本,它们占用了6 GB以上的空间。)从~/.stack/programs/x86_64-osx删除各个版本的文件夹是否安全?还是有更好的方法?

是的,删除这些目录是安全的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM