<a href="https://github.com/lttng" class="ext">viewed on GitHub</a>.
</p>
</div>
-
-If you're using Ubuntu, executing the following Bash script
-installs the appropriate dependencies, clones the LTTng
-Git repositories, builds the projects, and installs them. The sources
-are cloned into `~/src`. Your user needs to be a sudoer for the install
-steps to be completed.
-
-~~~ text
-#!/bin/bash
-
-mkdir ~/src
-cd ~/src
-sudo apt-get update
-sudo apt-get -y install build-essential libtool flex bison \
- libpopt-dev uuid-dev libglib2.0-dev autoconf \
- git libxml2-dev
-git clone git://git.lttng.org/lttng-ust.git
-git clone git://git.lttng.org/lttng-modules.git
-git clone git://git.lttng.org/lttng-tools.git
-git clone git://git.lttng.org/userspace-rcu.git
-git clone http://git.linuxfoundation.org/diamon/babeltrace.git
-
-cd userspace-rcu
-./bootstrap && ./configure && make -j 4 && sudo make install
-sudo ldconfig
-
-cd ../lttng-ust
-./bootstrap && ./configure && make -j 4 && sudo make install
-sudo ldconfig
-
-cd ../lttng-modules
-make && sudo make modules_install
-sudo depmod -a
-
-cd ../lttng-tools
-./bootstrap && ./configure && make -j 4 && sudo make install
-sudo ldconfig
-sudo cp extras/lttng-bash_completion /etc/bash_completion.d/lttng
-
-cd ../babeltrace
-./bootstrap && ./configure && make -j 4 && sudo make install
-sudo ldconfig
-~~~
id: archlinux
---
-LTTng packages are available in the
+LTTng 2.7 packages are currently available in the
<abbr title="Arch User Repository">AUR</abbr> under the following names:
<a href="https://aur.archlinux.org/packages/lttng-tools/" class="ext"><code>lttng-tools</code></a>,
<a href="https://aur.archlinux.org/packages/lttng-modules/" class="ext"><code>lttng-modules</code></a>
yaourt -S lttng-modules
yaourt -S lttng-ust
</pre>
-
-If you're living on the edge, the AUR also contains the latest Git master branch
-for each of those packages:
-<a href="https://aur.archlinux.org/packages/lttng-tools-git/" class="ext"><code>lttng-tools-git</code></a>,
-<a href="https://aur.archlinux.org/packages/lttng-modules-git/" class="ext"><code>lttng-modules-git</code></a>
-and
-<a href="https://aur.archlinux.org/packages/lttng-ust-git/" class="ext"><code>lttng-ust-git</code></a>.
id: debian
---
-Debian "wheezy" (stable) and previous versions are not supported; you
-need to build and install LTTng packages
-[from source](#doc-building-from-source) for those.
-
-Starting from Debian "jessie", packages are officially available
-using Apt:
+Debian "stretch" and Debian "sid" have LTTng-modules 2.7 and
+LTTng-UST 2.7 packages:
<pre class="term">
-sudo apt-get install lttng-tools
sudo apt-get install lttng-modules-dkms
sudo apt-get install liblttng-ust-dev
</pre>
+
+LTTng-tools 2.7 still needs to be
+[built from source](#doc-building-from-source).
+++ /dev/null
----
-id: fedora
----
-
-Starting from Fedora 17, LTTng-tools and LTTng-UST packages are officially
-available using `yum`:
-
-<pre class="term">
-sudo yum install lttng-tools
-sudo yum install lttng-ust
-sudo yum install lttng-ust-devel
-</pre>
-
-LTTng-modules still needs to be built and installed from source. For that,
-make sure that the `kernel-devel` package is already installed beforehand:
-
-<pre class="term">
-sudo yum install kernel-devel
-</pre>
-
-Proceed on to fetch [LTTng-modules' source](#doc-building-from-source).
-Build and install it as follows:
-
-<pre class="term">
-KERNELDIR=/usr/src/kernels/$(uname -r) make
-sudo make modules_install
-</pre>
id: desktop-distributions
---
-Official and unofficial LTTng packages are available for the major
-Linux desktop distributions: [Ubuntu](#doc-ubuntu),
-[Fedora](#doc-fedora), [Debian](#doc-debian), [openSUSE](#doc-opensuse)
-(and other RPM-based distributions) and [Arch Linux](#doc-archlinux).
-LTTng is regularly tested on those. Should any issue arise when
+Official and unofficial LTTng 2.7 packages are available for
+[Ubuntu](#doc-ubuntu), [Debian](#doc-debian),
+and [Arch Linux](#doc-archlinux).
+
+Older versions of LTTng are available for Fedora and openSUSE.
+
+Should any issue arise when
following the procedures below, please inform the
<a href="/community" class="ext">community</a> about it.
+++ /dev/null
----
-id: opensuse
----
-
-openSUSE has had LTTng packages since version 12.3. To install LTTng, you
-first need to add an entry to your repository configuration. All LTTng repositories
-are available
-<a href="http://download.opensuse.org/repositories/devel:/tools:/lttng/" class="ext">here</a>.
-For example, the following commands adds the LTTng repository for
-openSUSE 13.1:
-
-<pre class="term">
-sudo zypper addrepo http://download.opensuse.org/repositories/devel:/tools:/lttng/openSUSE_13.1/devel:tools:lttng.repo
-</pre>
-
-Then, refresh the package database:
-
-<pre class="term">
-sudo zypper refresh
-</pre>
-
-and install `lttng-tools`, `lttng-modules` and `lttng-ust-devel`:
-
-<pre class="term">
-sudo zypper install lttng-tools
-sudo zypper install lttng-modules
-sudo zypper install lttng-ust-devel
-</pre>
id: ubuntu-official-repositories
---
-To install LTTng from the official Ubuntu repositories, simply use `apt-get`:
+To install LTTng 2.7 from the official Ubuntu repositories, simply
+use `apt-get`:
<pre class="term">
sudo apt-get install lttng-tools
+++ /dev/null
----
-id: buildroot
----
-
-LTTng packages in Buildroot are `lttng-tools`, `lttng-modules` and
-`lttng-libust`.
-
-To enable them, start the Buildroot configuration menu as usual:
-
-<pre class="term">
-make menuconfig
-</pre>
-
-In:
-
- * _Kernel_: make sure _Linux kernel_ is enabled
- * _Toolchain_: make sure the following options are enabled:
- * _Enable large file (files > 2GB) support_
- * _Enable WCHAR support_
-
-In _Target packages_/_Debugging, profiling and benchmark_, enable
-_lttng-modules_ and _lttng-tools_. In
-_Target packages_/_Libraries_/_Other_, enable _lttng-libust_.
+++ /dev/null
----
-id: embedded-distributions
----
-
-LTTng is packaged by two popular
-embedded Linux distributions: [Buildroot](#doc-buildroot) and
-[OpenEmbedded/Yocto](#doc-oe-yocto).
+++ /dev/null
----
-id: oe-yocto
----
-
-LTTng recipes are available in the
-<code><a href="http://layers.openembedded.org/layerindex/branch/master/layer/openembedded-core/" class="ext">openembedded-core</a></code> layer of OpenEmbedded:
-
- * `lttng-tools`
- * `lttng-modules`
- * `lttng-ust`
-
-Using BitBake, the simplest way to include LTTng recipes in your
-target image is to add them to `IMAGE_INSTALL_append` in
-`conf/local.conf`:
-
-~~~ text
-IMAGE_INSTALL_append = " lttng-tools lttng-modules lttng-ust"
-~~~
-
-If you're using Hob, click _Edit image recipe_ once you have selected
-a machine and an image recipe. Then, under the _All recipes_ tab, search
-for `lttng` and include the three LTTng recipes.
This chapter shows how to install the above packages on a Linux
system. The easiest way is to use the package manager of the system's
-distribution ([desktop](#doc-desktop-distributions) or
-[embedded](#doc-embedded-distributions)). Support is also available for
+[distribution](#doc-desktop-distributions. Embedded distributions
+(Buildroot and OpenEmbedded/Yocto) currently have no packages of
+LTTng 2.7 (LTTng 2.6 is available for both of them). Support is also
+available for
[enterprise distributions](#doc-enterprise-distributions), such as
Red Hat Enterprise Linux (RHEL) and SUSE Linux Enterprise Server (SLES).
Otherwise, you can
<a href="http://diamon.org/ctf" class="ext"><abbr title="Common Trace Format">CTF</abbr></a>
format, an optimized file format for production and analyses of
multi-gigabyte data. LTTng is the result of close to 10 years of
-active development by a community of passionate developers. It is
-currently available on all major desktop, server, and embedded Linux
+active development by a community of passionate developers. LTTng 2.7
+is currently available on some major desktop and server Linux
distributions.
The main interface for tracing control is a single command line tool
title: Official repositories
- id: ubuntu-ppa
title: PPA
- - id: fedora
- title: Fedora
- id: debian
title: Debian
- - id: opensuse
- title: openSUSE/RPM
- id: archlinux
title: Arch Linux
- - id: embedded-distributions
- title: Embedded distributions
- cats:
- - id: buildroot
- title: Buildroot
- - id: oe-yocto
- title: OpenEmbedded/Yocto
- id: enterprise-distributions
title: "Enterprise distributions (<abbr title=\"Red Hat Enterprise Linux\">RHEL</abbr>, <abbr title=\"SUSE Linux Enterprise Server\">SLES</abbr>)"
- id: building-from-source