I want to completely uninstall OCaml so that I can Jane Street's Open Bundle. Using sudo apt-get remove ocaml seemed successful but OCaml is still present on my system (I can run the toploop, etc.) How can I remove it completely?

apt-file show ../../../usr/bin/ocaml doesn't return anything.

Solved: I used find . -rexexp '.*ocaml[^/]*/? -exec rm -rf {} \; in the usr directory to remove all ocaml-related files.



sudo apt-get purge ocaml

You also may have to reboot after.

  • 1
    apt-get says that the package doesn't exist, but the ocaml command is still there. – Matthew Piziak May 3 '12 at 19:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.