How do I run rosdep init without sudo? [closed]
Hi, I am trying to do a non privileged install of ros melodic and wanted to know whether it is possible to run rosdep without sudo.
When searching online i found this command ( https://github.com/ros-infrastructure... ):
ROSDEP_SOURCE_PATH=/tmp/asdf rosdep init
When i execute it, i get
$ ROSDEP_SOURCE_PATH=/tmp/asdf rosdep init
ERROR: cannot create /etc/ros/rosdep/sources.list.d:
[Errno 13] Permission denied: '/etc/ros/rosdep'
Am i doing something wrong or was this very useful feature removed for some reason?
I appreciate any hints.
- barcode
Related: #q276942.
Seems like your tmp directory needs to exist first - https://github.com/ros-infrastructure...
Are you sure you it exists?
It did not. Creating the directory fixed it.