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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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 !
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
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 !