Menu

How to uninstall?

Help
2004-01-05
2004-01-05
  • Daniel Henninger

    Howdy folk.  I'm trying to figure out how to uninstall the gnu-darwin dist from MacOS X?  There doesn't appear to be an obvious way to do that, or at least not that I'm finding on the web site.  Is there a way to do uninstall?

     
    • Yves de Champlain

      Try this : (as root)

      cd /var/db/pkg
      mv g-d-package-install-* ~
      sh
      for file in *
      > do
      > pkg_delete -f $file
      > done
      (wait for everything to finish, do not worry about error messages and warning)
      mv ~/g-d-package-install-* .
      cd /usr
      for file in `pkg_info -f "g-d-package-install-*" | grep File:`
      > do
      > if [ $file != File: ]
      > then rm -f $file
      > fi
      > done
      exit

      et voil !

       

Log in to post a comment.