Follow all the instructions to install the base version of ROS: Install ROS-Base. Please make sure you have followed all the ROS installation steps, including calls to rosdep.
sudo apt install python-wstool
Now follow the steps for your particular ROS version.
source /opt/ros/hydro/setup.bash mkdir moveit cd moveit mkdir src cd src/ wstool init . wstool merge https://raw.github.com/ros-planning/moveit_docs/hydro-devel/moveit.rosinstall wstool update cd .. |
rosdep install --from-paths src --ignore-src --rosdistro hydro -y |
Assuming you are in the moveit folder created above,
catkin_make
You will have to do this every time you work with this particular source install of the code. Assuming you are in the moveit folder created above,
source devel/setup.bash
# or .zsh, depending on your shell