Ask Your Question
0

remove the system dependencies of ROS package?

asked 2017-02-21 05:39:20 -0500

sam26 gravatar image

updated 2017-02-21 05:41:20 -0500

After installing a ros package, when I did rosdep check <package_name> , it has displayed some missing system dependencies that were not taken care of, during apt-get install . So, I installed them using rosdep install. However when I want to remove the ros package ,

sudo apt-get purge ros-*

sudo apt-get purge python-ros*

sudo apt-get autoremove

running the above three commands seem to be removing only the ros dependencies and not the system dependencies. How do I remove the system dependencies as well in this case? Thank you.

PS: I am trying to install only a single ros package on Ubuntu 16.04 ARM.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-02-21 13:06:39 -0500

tfoote gravatar image

Since you used rosdep to install them they are selected to be installed in the dpkg database. If you ask rosdep to simulate the install and to reinstall you can get a list of all the system dependencies you may want to remove. Though be careful removing them as they may be shared dependencies with other things that you want.

Use rosdep install --simulate --reinstall ...

where ... is the same arguments you used to install and uninstall the packages you don't want anymore.

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

Stats

Asked: 2017-02-21 05:39:20 -0500

Seen: 834 times

Last updated: Feb 21 '17