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

Installation of wstool and rosdep from source

asked 2013-01-14 05:02:19 -0500

BigBlueDart gravatar image

updated 2013-01-14 09:50:20 -0500

I'm trying to build from source. The instructions offered tell me to install the dependencies (python-rosdep, python-wstool, etc) using apt-get install. First of all, I am not using a system with apt-get. Secondly, I do not have root priveleges. Is there somewhere I can download these packages and install them in a user or group directory?

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
1

answered 2013-01-14 22:36:22 -0500

KruseT gravatar image

The sources for the tools are at:

https://github.com/vcstools/  (You would need all of those, vcstools, rosinstall, wstool)
https://github.com/ros/rosdep

They can be installed from source using

python setup.py ... (options)

However using the pip based install is more convenient.

For installing python packages without sudo privileges, I recommend looking at the virtualenv and virtualenvwrapper projects, and then use pip as suggested in the other answer:

pip install -U rosdep
pip install -U wstool

However installing virtualenv/virtualenvwrapper nicely also requires root privileges, but those are packaged for most distributions, so maybe you can ask your admin nicely to install those if they are not already installed.

edit flag offensive delete link more

Comments

1

The virtualenv thing looks to be working for some things. I've got rosdep and wstool installed. However, I can't figure out how to initialize rosdep. Can that be done without root?

BigBlueDart gravatar image BigBlueDart  ( 2013-01-15 07:17:55 -0500 )edit

I don't know. Open a new question for that, please.

KruseT gravatar image KruseT  ( 2013-01-18 03:54:13 -0500 )edit
3

answered 2013-01-14 11:02:14 -0500

jeskesen gravatar image

Hi, I'm not in exactly your situation, but maybe I can help. I needed to install from source as well without using apt because I was on an ARM board that isn't supported by ROS's apt repositories... though I did have root. What I did was to follow the instructions for installing rosdep using pip:

sudo pip install -U rosdep

and just do the same for wstool. To get around the not-having-root issue, use the '-E <your-install-path>' command line parameter in pip to have it install somewhere you can access. Of course, you'll also have to drop the 'sudo' in front. You'll still have to deal with path issues probably, but at least you'll have the tools.

edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2013-01-14 05:02:19 -0500

Seen: 1,029 times

Last updated: Jan 21 '13