ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How to install package from source in groovy?

asked 2013-07-31 21:12:32 -0500

Andrew.A gravatar image

Hi all,

I'm just starting out with ROS, and I'm trying to install some ROS packages, but there is no .deb file available, so I cant use apt-get. For example, package tf2_web_republisher. How do I go about installing from source? I've read posts such as:

but they use the command rosws. I believe this uses rosbuild. Since I'm using groovy, I'd like to build it using catkin. Can someone kindly guide me how to install packages from source on groovy using catkin?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-07-31 21:40:18 -0500

Lucile gravatar image

Are you sure this package has been catkinized ? If it has not, you'd better just use rosbuild.

If it has been catkinized, you can just download it in your catkin workspace and do a catkin_make. This should work.

If you want it to be in a specific directory, you can create a new workspace where you place this package, and use catkin_make -DCMAKE_INSTALL_PREFIX.

edit flag offensive delete link more


Thanks for your quick answer Lucile! After performing catkin_make, do I have to do catkin_make install?

Andrew.A gravatar image Andrew.A  ( 2013-07-31 21:47:28 -0500 )edit

If you use the -DCMAKE_INSTALL_PREFIX, I think you will need to, but I am not sure. In the source installation tutorial I used ( they used make install in build folder.

Lucile gravatar image Lucile  ( 2013-07-31 21:52:19 -0500 )edit

I went ahead and did catkin_make install anyway. Thanks!

Andrew.A gravatar image Andrew.A  ( 2013-07-31 22:24:43 -0500 )edit

Question Tools


Asked: 2013-07-31 21:12:32 -0500

Seen: 1,285 times

Last updated: Jul 31 '13