Revision history [back]

ROS2 How to uninstall/remove a package ?

Hello, I would like to know how to remove cleanly a package from ROS2.

I have installed from source the package ros2-lgsvl-bridge and now I would like to remove it from my ros environment. How do I do it ?

In ROS1 I would source ROS again, rebuild my packages and it would be done ! But here in ROS2 Dashing even when sourcing ROS2 again I still have this package in those env variables : COLCON_PREFIX_PATH, AMENT_PREFIX_PATH, CMAKE_PREFIX_PATH.

How do I remove this package cleanly without starting a new bash session ?

Thanks !