Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer

Try:

sudo apt-get purge ocaml

You also may have to reboot after.

share|improve this answer
    
apt-get says that the package doesn't exist, but the ocaml command is still there. –  Matthew Piziak May 3 '12 at 19:57
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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