Installing APM Planner for Linux

System Requirements

  • Ubuntu 16.04 LTS (Xenial Xerus) or equivalent
  • 300 MB free space
  • Internet connection to use maps

Note

Check the downloads link for other pre-built binaires for other distros and versions. If not available APM Planner 2.0 can be easily built from source for many platforms, for example Arch Linux

Download

Download the latest deb file for your machine from

firmware.ardupilot.org/Tools/APMPlanner

And also check the discussion forum for lastest info

http://discuss.ardupilot.org/c/ground-control-software/apm-planner-2-0

Install Packages

Open a terminal window and go to the location where you downloaded the .deb file from step 2 and type the following command:

sudo dpkg -i apmplanner*.deb

The installation will likely fail because of missing dependencies. These dependencies can be installed with this command:

sudo apt-get -f install

Then retry the apmplanner installation again:

sudo dpkg -i apmplanner*.deb

Create a desktop icon

Click on this link to download the apmplanner2.desktop file from github. Set the properties on the file to “Allow executing file as program”, then drag and drop the file to your start bar.

../_images/apm_planner_2_install_linux_desktop_icon.jpg

Click on the new Icon and the APM Planner 2 should start.

Common problems

If you find the APM Planner 2 is unable to connect to the APM2/Pixhawk, it may be because of the modemmanager package. Uninstall this package by entering the following command into a terminal window:

sudo apt-get --purge remove modemmanager