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

How to install package from source in groovy?

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

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:

http://answers.ros.org/question/61693/individual-package-install/

http://answers.ros.org/question/36784/how-to-install-a-stack-and-package-manually-in-fuerte/

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?

Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

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

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

Comments

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 -0600 )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 (http://www.ros.org/wiki/turtlebot/Tutorials/groovy/Installation) they used make install in build folder.

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

I went ahead and did catkin_make install anyway. Thanks!

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

Question Tools

Stats

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

Seen: 1,303 times

Last updated: Jul 31 '13