ros-install-osx icon indicating copy to clipboard operation
ros-install-osx copied to clipboard

is there a way to take care of uninstalling?

Open mark2n opened this issue 9 years ago • 3 comments

I don't know if there's a way to uninstall everything nicely? I'm not saying that I want to uninstall it, but just out of curiousity.

mark2n avatar Dec 15 '16 15:12 mark2n

@mark2n In terms of the ROS installation itself, it should be as simple as rm -rf /opt/ros/$ROS_DISTRO (e.g. rm -rf /opt/ros/indigo) And you probably wanna delete the catkin workspace as well, as it will contain src, build, devel, and log directories.

The Homebrew packages you would have to remove one-by-one on your own I think.

spmaniato avatar Dec 15 '16 16:12 spmaniato

@spmaniato that sounds reasonable. Thanks a lot!

mark2n avatar Dec 15 '16 18:12 mark2n

For the ROS stuff itself, just delete /opt/ros and /etc/ros.

Cleaning up Homebrew is a trickier story. TBH you'd probably be best off nuking your Homebrew installation and just starting over with reinstalling only the packages you want.

We've talked at various points about mirroring all the homebrew formulae we depend on and installing them into a separate path, eg /opt/ros/deps as opposed to /usr/local. Homebrew maintainers tell me to go this route every time I complain about QT4/5 or other dependency issues— the big cost is that I think we'd have to give up upstream bottles, which would really suck.

mikepurvis avatar Dec 15 '16 18:12 mikepurvis