This topic explains how to install MAVSDK for all our supported programming languages/platforms (C++, Swift/iOS, Python).


This section show how to install the MAVSDK C++ (core) library on various platforms:

  • MacOS: Install Homebrew and use it to install the library:
    brew install mavsdk
  • Ubuntu: Download the .deb file for your system from MAVSDK releases and install it using dpkg:
    sudo dpkg -i mavsdk_0.24.0_ubuntu18.04_amd64.deb
  • Fedora: Download the .rpm file for your system from MAVSDK releases and install it using rpm:
    sudo rpm -U mavsdk-0.24.0-1.fc30-x86_64.rpm
  • Arch Linux: Use yay to install the library from AUR:
    yay -S mavsdk
  • Windows/Other platforms/Development: No binaries are available (yet) for other platforms, including Windows. For now you must build the library from source.

You will also to install a compiler/build toolchain that build your MAVSDK C++ applications. We recommend cmake and the same compiler used to compile the flight stack software (because these are used for the MAVSDK C++ Examples examples).

The required toolchain is generally set up when you set up the flight stack development environment (e.g. to set up the simulator).


Use pip3 to install MAVSDK-Python:

pip3 install mavsdk

Swift (iOS)

MAVSDK-Swift on GitHub as well as the reference docs should contain everything needed for iOS development of MAVSDK apps.

Next Steps

Once MAVSDK is installed we recommend you try the examples and read the guides:

© Dronecode 2017-2020. License: CC BY 4.0            Updated: 2021-01-18 00:37:29

results matching ""

    No results matching ""