ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Complete ROS uninstallation?

asked 2013-06-27 23:26:14 -0600

Albtech gravatar image

updated 2014-04-20 14:09:50 -0600

ngrennan gravatar image

Hi guys,

Even though i have tried to uninstall ROS using sudo apt-get remove ros-groovy-*, still there are some remaining packages like: ros-groovy-bfl, ros-groovy-opencv2 ... etc. Did anybody know how to completely remove them because i want to try a fresh installation of ROS and i dont want to have something from the previous installation.

Thank you in advance!

edit retag flag offensive close merge delete



I don't know in which situation it actually matters but most times I use purge instead of remove, so the package's configuration is cleaned.

felix k gravatar image felix k  ( 2013-06-29 03:16:42 -0600 )edit

4 Answers

Sort by ยป oldest newest most voted

answered 2014-09-09 07:53:58 -0600

tonyParker gravatar image


sudo apt-get purge ros-*

It will also remove configuration files. And then

sudo apt-get autoremove

To remove dependencies

edit flag offensive delete link more


I would add: sudo apt-get purge python-ros*

before running the autoremove command

lordricky gravatar image lordricky  ( 2017-02-11 01:54:01 -0600 )edit

answered 2013-06-28 01:16:02 -0600

Johannes Mayr gravatar image

I also used 'sudo apt-get autoremove' which uninstalls unused references as well. You could also remove the remaining packages individually and then performe the autoremove again so that also all unsed dependencies of the packages are removed.

edit flag offensive delete link more


Still these packages remained unaffected. Anyway thank you for effort!

Albtech gravatar image Albtech  ( 2013-06-28 03:10:18 -0600 )edit

answered 2013-08-28 23:53:43 -0600

Topsy_turvy gravatar image

updated 2013-08-28 23:58:50 -0600

@Albetch Did you find a solution to completely uninstall it because I am also facing a similar problem

edit flag offensive delete link more

answered 2013-11-06 13:01:37 -0600

tfoote gravatar image

updated 2013-11-06 13:01:49 -0600

Try this out:

sudo apt-get remove ros-groovy-*
edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2013-06-27 23:26:14 -0600

Seen: 20,980 times

Last updated: Sep 09 '14