Ask Your Question
1

Anybody knows how to uninstall ROS?

asked 2012-05-31 20:57:27 -0600

Seungeun Lee gravatar image

I installed ros fuerte, but i want it to be replaced by ros electric. so basically i want to uninstall fuerte and install electric version. anybody knows how to do this?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
4

answered 2012-05-31 22:55:52 -0600

michikarg gravatar image

updated 2012-05-31 22:56:28 -0600

What about

sudo apt-get remove ros-electric-*

?

edit flag offensive delete link more

Comments

I tried that with Fuerte and it worked. I also did sudo apt-get autoremove ros-fuerte-*, which I'm not sure is necessary.

Benoit Larochelle gravatar image Benoit Larochelle  ( 2012-09-18 22:52:08 -0600 )edit
3

answered 2012-05-31 21:27:54 -0600

You don't need to uninstall ROS. You can install ROS Electric alongside ROS Fuerte, and call the appropriate setup script in your ~/.bashrc (or equivalent) file.

edit flag offensive delete link more

Comments

thanks for the answer Piyush~ within .bashrc file i have "source /opt/ros/fuerte/setup.bash" "export ROS_PACKAGE_PATH=~/ros_workspace:/opt/ros/fuerte/share:/opt/ros/fuerte/stacks" "export ROS_WORKSPACE=~/ros_workspace". Approriate setup will be replacing "fuerte" with "electric"?

Seungeun Lee gravatar image Seungeun Lee  ( 2012-05-31 22:19:22 -0600 )edit

and just curious.. if i want to uninstall ros for some reason,, how can i uninstall it? is there some sort of installer taking care of uninstalling ros? or should i remove the entire "opt" directory by "rmdir" command?

Seungeun Lee gravatar image Seungeun Lee  ( 2012-05-31 22:19:31 -0600 )edit

See answer from @michikarg

joq gravatar image joq  ( 2012-06-01 05:29:06 -0600 )edit

@Seungeun Lee: Yes. Instead of "export ROS_PACKAGE_PATH=~/ros_workspace:/opt/ros/fuerte/share:/opt/ros/fuerte/stacks" use "export ROS_PACKAGE_PATH=~/ros_workspace:${ROS_PACKAGE_PATH". The setup scripts sets the default package path already. Then you just have to change the first line.

piyushk gravatar image piyushk  ( 2012-06-01 09:23:07 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-05-31 20:57:27 -0600

Seen: 9,729 times

Last updated: May 31 '12