X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=contents%2Finstalling-lttng%2Fbuilding-from-source.md;h=b5d3c9eb5bd609ba10668c69293067c160860d42;hb=251b1286e622fe7f697cc523aa95f52d9fbf16f2;hp=580ebd125287616bfd1a33da60696d910d2febbc;hpb=47bfcb757a0192864b56d12d775f65dc8b180aaf;p=lttng-docs.git diff --git a/contents/installing-lttng/building-from-source.md b/contents/installing-lttng/building-from-source.md index 580ebd1..b5d3c9e 100644 --- a/contents/installing-lttng/building-from-source.md +++ b/contents/installing-lttng/building-from-source.md @@ -22,46 +22,3 @@ are rendered as rich text when viewed on GitHub.

- -If you're using Ubuntu, executing the following Bash script -installs the appropriate dependencies, clone the LTTng -Git repositories, build the projects, and install 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 git://git.efficios.com/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 -~~~