From 9ba97e6072bfc5a1cc6fbbe421f8a927a6c18e13 Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Thu, 10 Nov 2022 15:58:45 -0800 Subject: [PATCH] Mention Ubuntu installation options Signed-off-by: Christophe Bedard --- 2.13/lttng-docs-2.13.txt | 107 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 102 insertions(+), 5 deletions(-) diff --git a/2.13/lttng-docs-2.13.txt b/2.13/lttng-docs-2.13.txt index 2ba2d76..949b00e 100644 --- a/2.13/lttng-docs-2.13.txt +++ b/2.13/lttng-docs-2.13.txt @@ -379,20 +379,117 @@ but note that: * You only need to install LTTng-UST if you intend to use the user space LTTng tracer. + [NOTE] ==== -As of 10{nbsp}June{nbsp}2021, LTTng{nbsp}{revision} is not yet available -in any major non-enterprise Linux distribution. - For https://www.redhat.com/[RHEL] and https://www.suse.com/[SLES] packages, see https://packages.efficios.com/[EfficiOS Enterprise Packages]. -For other distributions, <>. +For distributions other than <>, +<>. ==== +[[ubuntu]] +=== [[ubuntu-official-repositories]]Ubuntu + +LTTng{nbsp}{revision} is available on Ubuntu{nbsp}22.04 _Jammy +Jellyfish_. For previous supported releases of Ubuntu, <>. + +To install LTTng{nbsp}{revision} on Ubuntu{nbsp}22.04 _Jammy Jellyfish_: + +. Install the main LTTng{nbsp}{revision} packages: ++ +-- +[role="term"] +---- +# apt-get install lttng-tools +# apt-get install lttng-modules-dkms +# apt-get install liblttng-ust-dev +---- +-- + +. **If you need to instrument and trace + <>**, install the LTTng-UST + Java agent: ++ +-- +[role="term"] +---- +# apt-get install liblttng-ust-agent-java +---- +-- + +. **If you need to instrument and trace + <>**, install the + LTTng-UST Python agent: ++ +-- +[role="term"] +---- +# apt-get install python3-lttngust +---- +-- + + +[[ubuntu-ppa]] +=== Ubuntu: noch:{LTTng} Stable {revision} PPA + +The https://launchpad.net/~lttng/+archive/ubuntu/stable-{revision}[LTTng +Stable{nbsp}{revision} PPA] offers the latest stable +LTTng{nbsp}{revision} packages for Ubuntu{nbsp}18.04 _Bionic Beaver_, +Ubuntu{nbsp}20.04 _Focal Fossa_, and Ubuntu{nbsp}22.04 _Jammy Jellyfish_. + +To install LTTng{nbsp}{revision} from the LTTng Stable{nbsp}{revision} +PPA: + +. Add the LTTng Stable{nbsp}{revision} PPA repository and update the + list of packages: ++ +-- +[role="term"] +---- +# apt-add-repository ppa:lttng/stable-2.13 +# apt-get update +---- +-- + +. Install the main LTTng{nbsp}{revision} packages: ++ +-- +[role="term"] +---- +# apt-get install lttng-tools +# apt-get install lttng-modules-dkms +# apt-get install liblttng-ust-dev +---- +-- + +. **If you need to instrument and trace + <>**, install the LTTng-UST + Java agent: ++ +-- +[role="term"] +---- +# apt-get install liblttng-ust-agent-java +---- +-- + +. **If you need to instrument and trace + <>**, install the + LTTng-UST Python agent: ++ +-- +[role="term"] +---- +# apt-get install python3-lttngust +---- +-- + + [[building-from-source]] === Build from source