Skip to content

Latest commit

 

History

History
35 lines (18 loc) · 798 Bytes

build-environment-setup.md

File metadata and controls

35 lines (18 loc) · 798 Bytes

Setting up the build environment in Linux

  1. Update and upgrade software packages.

sudo apt-get update && sudo apt-get upgrade

  1. Install git to the computer.

sudo apt-get install git gitk git-gui

  1. Configure git to use HTTPS instead of git.

git config --global url."https://github.com/".insteadOf git@github.com:

git config --global url."https://".insteadOf git://

  1. Clone the ardupilot repository from github.

cd && git clone https://github.com/ArduPilot/ardupilot.git

  1. Perform submodule updates.

cd ardupilot/

git submodule update --init --recursive

  1. Install required packages.

Tools/environment_install/install-prereqs-ubuntu.sh -y

  1. Update profile.

. ~/.profile

Source