Forums 🙋 Ask Anything

Stuck in the 5 steps to install ROS Noetic

  • I’m on step 4 of the 5 steps to install ROS Noetic.  When I run the command: <span style=”background-color: #dbdbdb; color: #000000; font-family: monospace; font-size: 15.3562px;”>–tar > noetic-ros_comm-wet.rosinstall</span>

    I get the following output:

    <span style=”color: #000000; font-family: monospace;”><span style=”font-size: 15.3562px;”>pi@raspberrypi:/opt/ros/noetic $ –tar > noetic-ros_comm-wet.rosinstall</span></span>

    <span style=”color: #000000; font-family: monospace;”><span style=”font-size: 15.3562px;”>bash: noetic-ros_comm-wet.rosinstall: Permission denied</span></span>

     

    Any thoughts?  The previous command of:  <span style=”background-color: #dbdbdb; color: #000000; font-family: monospace; font-size: 15.3562px;”>rosinstall_generator ros_comm –rosdistro noetic –deps –wet-only</span>

    This seems to work and the output is a list of a bunch of git repos.

    Please let me know if you can advise.

    Thanks,

    Andy

     

     

    +1
Replies
    • VarHowto Editor
      Keymaster

      I saw “Permission denied”. Are you running the command using the root user?

      A temporary solution is to use sudo

      sudo rosinstall_generator ros_comm --rosdistro noetic --deps --wet-only --tar > noetic-ros_comm-wet.rosinstall

      Otherwise, use a normal user like what I did (I used the pi user).

      +1
  • You must be logged in to reply to this topic.