I have ubuntu 20.04 LTS and want to run sitl (software in the loop). So i write in the Terminal this code:
cd ardupilot
and then:
Tools/environment_install/install-prereqs-ubuntu.sh -y
but Terminal returns this comment: "bash: Tools/environment_install/install-prereqs-ubuntu.sh: No such file or directory " .
In fact we use this code (mean "Tools/environment_install/install-prereqs-ubuntu.sh -y") that install the "prereqs-ubuntu.sh" file and this ".sh" file, should be in this address: "Tools/environment_install/". but this ".sh"
file in my ubuntu is in this address: "Tools/scripts/install-prereqs-ubuntu.sh -y".
So we 2 way for solve this problem:
- Write in the terminal:
cd ardupilot
and then:
Tools/scripts/install-prereqs-ubuntu.sh -y
- Write in the terminal:
ardupilot/Tools/scripts/install-prereqs-ubuntu.sh -y