Ask Your Question
1

Anybody knows how to uninstall ROS?

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

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 -0500

michikarg gravatar image

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

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 imageBenoit Larochelle ( 2012-09-18 22:52:08 -0500 )edit
3

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

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 imageSeungeun Lee ( 2012-05-31 22:19:22 -0500 )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 imageSeungeun Lee ( 2012-05-31 22:19:31 -0500 )edit

See answer from @michikarg

joq gravatar imagejoq ( 2012-06-01 05:29:06 -0500 )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 imagepiyushk ( 2012-06-01 09:23:07 -0500 )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 -0500

Seen: 8,984 times

Last updated: May 31 '12