Issue Deleting Anaconda, Miniconda, and R

Hello all! I am stuck trying to get rid of packages in the /opt folder on my Mac – which includes miniconda3, anaconda3, and R. These should be removed when using the rm -rf ~/opt command that is suggested with the uninstall guide for Mac on Anaconda’s website. I am not new to terminal nor to Mac. Anyone have an explanation for why the files are still here and I am not able to remove them?

Update** I tried rm -rf /opt and rm -rf /opt/anaconda3 and got “permission denied”. Still do not know why this is happening.

Try “sudo rm -rf” but make sure you really want to delete it first!

1 Like