# [MAVLINK](https://mavlink.io/en/)
###### tags: `Learning Notes`
## Prerequisites(Ubuntu)
> For C++
- Do not need to install or generate the source files if you are using C programming language and a standard dialect. Just get the prebuilt libraries and then jump tp Using C Libraries.
:cactus:prebuilt library :
> [For Python](https://mavlink.io/en/getting_started/installation.html)
1. Install Python 3.6+:
:::info
$ sudo apt install python3-pip
:::
2. Install the future module:
:::info
$ pip3 install --user future
:::
3. (Recommended) Install modules for XML validation and formatting:.
:::info
$ sudo apt install python3-lxml libxml2-utils
:::
4. (Optional) Install TkInter
:::info
$ sudo apt install python3-tk
:::
5. Clone the mavlink repo (or your fork) into a user-writable directory:
:::info
$ git clone https://github.com/mavlink/mavlink.git --recursive
:::
6. Set PYTHONPATH to the directory path containing your mavlink repository.
:::info
$ PYTHONPATH=path_to_root_of_cloned_mavlink_repository
:::