Skip to content

Commit 76a080e

Browse files
committed
2.12: update installation
Signed-off-by: Philippe Proulx <[email protected]>
1 parent eaabe01 commit 76a080e

File tree

1 file changed

+148
-8
lines changed

1 file changed

+148
-8
lines changed

2.12/lttng-docs-2.12.txt

Lines changed: 148 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
The LTTng Documentation
22
=======================
33
Philippe Proulx <[email protected]>
4-
v2.12, 6 April 2020
4+
v2.12, 5 August 2020
55

66

77
include::../common/copyright.txt[]
@@ -396,14 +396,122 @@ but note that:
396396
* You only need to install LTTng-UST if you intend to trace user
397397
applications.
398398

399-
[IMPORTANT]
400-
====
401-
As of 1 April 2020, LTTng{nbsp}{revision} isn't available
402-
as distribution packages, except for <<arch-linux,Arch Linux>>.
399+
[role="growable"]
400+
.Availability of LTTng{nbsp}{revision} for major Linux distributions as
401+
of 5{nbsp}August{nbsp}2020.
402+
|====
403+
|Distribution |Available in releases
403404

404-
<<building-from-source,Build LTTng{nbsp}{revision} from source>>
405-
to install and use it.
406-
====
405+
|https://www.ubuntu.com/[Ubuntu]
406+
|Ubuntu{nbsp}16.04 _Xenial Xerus_, Ubuntu{nbsp}18.04 _Bionic Beaver_,
407+
and Ubuntu{nbsp}20.04 _Focal Fossa_:
408+
<<ubuntu-ppa,use the LTTng Stable{nbsp}{revision} PPA>>.
409+
410+
|https://www.debian.org/[Debian]
411+
|<<debian,Debian "bullseye" (testing)>>.
412+
413+
|https://www.archlinux.org/[Arch Linux]
414+
|<<arch-linux,_Community_ repository and AUR>>.
415+
416+
|https://alpinelinux.org/[Alpine Linux]
417+
|<<alpine-linux,Alpine Linux{nbsp}3.12>>.
418+
419+
|https://www.redhat.com/[RHEL] and https://www.suse.com/[SLES]
420+
|See http://packages.efficios.com/[EfficiOS Enterprise Packages].
421+
|====
422+
423+
424+
[[ubuntu-ppa]]
425+
=== Ubuntu: noch:{LTTng} Stable {revision} PPA
426+
427+
The https://launchpad.net/~lttng/+archive/ubuntu/stable-{revision}[LTTng
428+
Stable{nbsp}{revision} PPA] offers the latest stable
429+
LTTng{nbsp}{revision} packages for Ubuntu{nbsp}16.04 _Xenial Xerus_,
430+
Ubuntu{nbsp}18.04 _Bionic Beaver_, and Ubuntu{nbsp}20.04 _Focal Fossa_.
431+
432+
To install LTTng{nbsp}{revision} from the LTTng Stable{nbsp}{revision}
433+
PPA:
434+
435+
. Add the LTTng Stable{nbsp}{revision} PPA repository and update the
436+
list of packages:
437+
+
438+
--
439+
[role="term"]
440+
----
441+
# apt-add-repository ppa:lttng/stable-2.12
442+
# apt-get update
443+
----
444+
--
445+
446+
. Install the main LTTng{nbsp}{revision} packages:
447+
+
448+
--
449+
[role="term"]
450+
----
451+
# apt-get install lttng-tools
452+
# apt-get install lttng-modules-dkms
453+
# apt-get install liblttng-ust-dev
454+
----
455+
--
456+
457+
. **If you need to instrument and trace
458+
<<java-application,Java applications>>**, install the LTTng-UST
459+
Java agent:
460+
+
461+
--
462+
[role="term"]
463+
----
464+
# apt-get install liblttng-ust-agent-java
465+
----
466+
--
467+
468+
. **If you need to instrument and trace
469+
<<python-application,Python{nbsp}3 applications>>**, install the
470+
LTTng-UST Python agent:
471+
+
472+
--
473+
[role="term"]
474+
----
475+
# apt-get install python3-lttngust
476+
----
477+
--
478+
479+
480+
[[debian]]
481+
=== Debian
482+
483+
To install LTTng{nbsp}{revision} on Debian "bullseye" (testing):
484+
485+
. Install the main LTTng{nbsp}{revision} packages:
486+
+
487+
--
488+
[role="term"]
489+
----
490+
# apt-get install lttng-modules-dkms
491+
# apt-get install liblttng-ust-dev
492+
# apt-get install lttng-tools
493+
----
494+
--
495+
496+
. **If you need to instrument and trace <<java-application,Java
497+
applications>>**, install the LTTng-UST Java agent:
498+
+
499+
--
500+
[role="term"]
501+
----
502+
# apt-get install liblttng-ust-agent-java
503+
----
504+
--
505+
506+
. **If you need to instrument and trace <<python-application,Python
507+
applications>>**, install the LTTng-UST Python agent:
508+
+
509+
--
510+
[role="term"]
511+
----
512+
# apt-get install python3-lttngust
513+
----
514+
--
407515

408516

409517
[[arch-linux]]
@@ -440,6 +548,38 @@ $ yay -Sy lttng-modules
440548
--
441549

442550

551+
[[alpine-linux]]
552+
=== Alpine Linux
553+
554+
To install LTTng-tools{nbsp}{revision} and LTTng-UST{nbsp}{revision} on
555+
Alpine Linux{nbsp}3.12:
556+
557+
. Add the LTTng packages:
558+
+
559+
--
560+
[role="term"]
561+
----
562+
# apk add lttng-tools
563+
# apk add lttng-ust-dev
564+
----
565+
--
566+
567+
. Download, build, and install the latest LTTng-modules{nbsp}{revision}:
568+
+
569+
--
570+
[role="term"]
571+
----
572+
$ cd $(mktemp -d) &&
573+
wget http://lttng.org/files/lttng-modules/lttng-modules-latest-2.12.tar.bz2 &&
574+
tar -xf lttng-modules-latest-2.12.tar.bz2 &&
575+
cd lttng-modules-2.12.* &&
576+
make &&
577+
sudo make modules_install &&
578+
sudo depmod -a
579+
----
580+
--
581+
582+
443583
[[building-from-source]]
444584
=== Build from source
445585

0 commit comments

Comments
 (0)