ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Uninstall and reinstall ROS

asked 2013-10-02 22:05:10 -0500

FuerteNewbie gravatar image

updated 2013-11-14 10:58:42 -0500

tfoote gravatar image

Hi guys,

I wanted to remove my ROS fuerte and reinstall it due to some error I can't solve even with solution. So I wanna ask whether can I remove current ROS and reinstall it later on? Will my package still remain or I need to create them all over again after that? How am I suppose to do?

Here's the error wish someone could have help me so I don't need to remove my ROS.

http://answers.ros.org/question/86126/import-errorno-module-named-rospkg/

edit retag flag offensive close merge delete

Comments

What do you mean with 'Will my package still remain'?

BennyRe gravatar image BennyRe  ( 2013-10-03 00:06:38 -0500 )edit

All those package that I created in my workspace.

FuerteNewbie gravatar image FuerteNewbie  ( 2013-10-03 14:56:46 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
3

answered 2013-10-03 21:01:47 -0500

BennyRe gravatar image

If you created your workspace properly, you should be fine. The only thing the workspace does is sourcing /opt/ros/fuerte/setup.bash this happens in ~/yourworkspace/setup.bash. So if ROS is reinstalled at the same place there should be no problem I think.

To uninstall ROS completely (debian packages and their configs) do:

sudo apt-get purge ros-fuerte-*

To reinstall simply follow the instructions from the wiki.

edit flag offensive delete link more

Comments

1

So after I delete my ROS and reinstall, I dont need to reconfigure anything about my workspace and all those packages right?

FuerteNewbie gravatar image FuerteNewbie  ( 2013-10-03 21:47:08 -0500 )edit

I think so. Nevertheless I recommend a backup of your machine. You never know...

BennyRe gravatar image BennyRe  ( 2013-10-03 22:01:59 -0500 )edit

Yea I was thinking backing up my workspace and then after reinstall just rosmake them. What do you suggest?

FuerteNewbie gravatar image FuerteNewbie  ( 2013-10-03 22:27:26 -0500 )edit

I think that should work.

BennyRe gravatar image BennyRe  ( 2013-10-03 22:29:12 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2013-10-02 22:05:10 -0500

Seen: 32,925 times

Last updated: Oct 03 '13