- Update and upgrade software packages.
sudo apt-get update && sudo apt-get upgrade
- Install git to the computer.
sudo apt-get install git gitk git-gui
- Configure git to use HTTPS instead of git.
git config --global url."https://github.com/".insteadOf [email protected]:
git config --global url."https://".insteadOf git://
- Clone the ardupilot repository from github.
cd && git clone https://github.com/ArduPilot/ardupilot.git
- Perform submodule updates.
cd ardupilot/
git submodule update --init --recursive
- Install required packages.
Tools/environment_install/install-prereqs-ubuntu.sh -y
- Update profile.
. ~/.profile