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

Delete ros package path

asked 2012-06-20 06:52:39 -0500

sandeep gravatar image

updated 2014-01-28 17:12:44 -0500

ngrennan gravatar image

How can we delete the current package paths, create a new package path?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-06-20 06:56:56 -0500

Rydel gravatar image

go to your home folder, on the top menu hit view, then select show hidden files. Click on the .bashrc file and scroll to the bottom and change the line:


where WHATEVER YOU WANT is a valid location on your file system, multiple locations can be seperated by a ':' for example mine is

export ROS_PACKAGE_PATH=~/ros_workspace:/opt/ros/electric/stacks

edit flag offensive delete link more



always keep /opt/ros/electric/stacks as that's where the main install is

Rydel gravatar image Rydel  ( 2012-06-20 06:58:15 -0500 )edit

It's also good practice to use the rosws ( tool and rosinstall ( to maintain your package path, rather than doing it by hand.

mjcarroll gravatar image mjcarroll  ( 2012-07-02 13:28:50 -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


Asked: 2012-06-20 06:52:39 -0500

Seen: 4,282 times

Last updated: Jun 20 '12