| 1 | --- |
| 2 | id: ubuntu-official-repositories |
| 3 | --- |
| 4 | |
| 5 | To install LTTng 2.7 from the official Ubuntu 16.04 _Xenial Xerus_ |
| 6 | repositories, simply use `apt-get`: |
| 7 | |
| 8 | <pre class="term"> |
| 9 | sudo apt-get install lttng-tools |
| 10 | sudo apt-get install lttng-modules-dkms |
| 11 | sudo apt-get install liblttng-ust-dev |
| 12 | </pre> |
| 13 | |
| 14 | If you need to trace [Java applications](#doc-java-application), you |
| 15 | need to install the LTTng-UST Java agent also: |
| 16 | |
| 17 | <pre class="term"> |
| 18 | sudo apt-get install liblttng-ust-agent-java |
| 19 | </pre> |
| 20 | |
| 21 | If you need to trace [Python applications](#doc-python-application), |
| 22 | you need to install the LTTng-UST Python agent also: |
| 23 | |
| 24 | <pre class="term"> |
| 25 | sudo apt-get install python3-lttngust |
| 26 | </pre> |