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

Install catkin from source

asked 2014-08-25 08:04:00 -0500

baxter.irt gravatar image

updated 2014-08-25 08:20:10 -0500

In the source files ( branch: groovy-devel), a bug is fixed, that is not in the PPA repository for Ubuntu 12.04 ( ). I would like to install the new version from the source code like described here: .

When I do "make install", catkin is installed to /usr/local/bin and /usr/local/share. But in ROS, still the catkin binaries from /opt/ros/groovy/bin seem to be used, the problem remains. Manually copying the files to /opt/ros did not work either. Could you explain step by step, how to install catkin from source?

Thanks and Regards, Moritz

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-08-25 17:58:23 -0500

tfoote gravatar image

You want to use the CMAKE_INSTALL_PREFIX Documentation:

Related stack overflow posts: and

edit flag offensive delete link more


Thanks, it worked. Unfortunately it did not solve the targeted bug, but this is another topic.

mkdir ~/catkin-download
cd ~/catkin-download
git clone --branch groovy-devel
cd catkin
cmake -DCMAKE_INSTALL_PREFIX=/opt/ros/groovy ./
sudo make install
baxter.irt gravatar image baxter.irt  ( 2014-08-26 02:40:39 -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

1 follower


Asked: 2014-08-25 08:03:36 -0500

Seen: 125 times

Last updated: Aug 25 '14