X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=contents%2Finstalling-lttng%2Fbuilding-from-source.md;h=b5d3c9eb5bd609ba10668c69293067c160860d42;hb=799746aba772716bec911b5872a9b502d553016e;hp=2bb1ad5313cba9dc997ed31aa82b6636235cb9f5;hpb=b7189a67bfba753671c21dbaad05361b3a702563;p=lttng-docs.git diff --git a/contents/installing-lttng/building-from-source.md b/contents/installing-lttng/building-from-source.md index 2bb1ad5..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, 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 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 -~~~