linux.rst (2286B)
1 Building Jami on Linux 2 ====================== 3 4 Simply follow the instructions in the README of the `master 5 repository <https://git.jami.net/savoirfairelinux/ring-project>`__. 6 7 Alternatively, follow the build instructions for :doc:`each individual 8 component <building-individually>` if you choose to build them 9 separately. 10 11 Dependencies 12 ------------ 13 14 Jami-daemon provides some dependencies in its ``contrib`` directory, 15 along with instructions for compiling them. However, some dependencies 16 should be installed with your package manager. 17 18 Fedora 19 ~~~~~~ 20 21 .. code:: bash 22 23 sudo yum groupinstall group "Development Tools" "Development Libraries" 24 sudo yum install gcc-c++ yasm intltool libyaml-devel alsa-lib-devel pulseaudio-libs-devel libsamplerate-devel dbus-c++-devel pcre-devel gsm-devel speex-devel speexdsp-devel expat-devel qttools5-dev libsndfile-devel gnutls-devel gettext-devel cmake libtool systemd-devel uuid-devel libXfixes-devel jsoncpp-devel autoconf-archive qt5-qtbase-devel qt5-qttools-devel 25 26 For video support, you’ll also need ffmpeg, which is only available in 27 the RPMfusion repository as described here 28 http://rpmfusion.org/Configuration 29 30 Then install ffmpeg: 31 32 .. code:: bash 33 34 sudo yum install ffmpeg-devel 35 36 To build and run the tests with make check, you’ll also need 37 38 .. code:: bash 39 40 sudo yum install cppunit-devel cppcheck sipp dbus 41 42 Debian-based 43 ~~~~~~~~~~~~ 44 45 Building dependencies/instructions for Debian, Ubuntu, Crunchbang Linux, 46 etc. 47 48 .. code:: bash 49 50 sudo apt-get install autoconf autoconf-archive automake autopoint cmake libpulse-dev libsamplerate0-dev libgsm1-dev libspeex-dev libtool libdbus-1-dev libasound2-dev libopus-dev libspeexdsp-dev libexpat1-dev libpcre3-dev libyaml-cpp-dev libboost-dev libdbus-c++-dev qttools5-dev libsndfile1-dev libsrtp-dev libjack-dev libupnp-dev libavcodec-dev libavformat-dev libswscale-dev libavdevice-dev libudev-dev yasm uuid-dev libgnutls28-dev libjsoncpp-dev libvdpau-dev libva-dev qtbase5-dev qttools5-dev and qttools5-dev-tools 51 52 If you want to run tests (e.g. when setting up a new VM on Jenkins), you 53 must install cppunit and sipp 54 55 .. code:: bash 56 57 sudo apt-get install libcppunit-dev sip-tester dbus 58 59 For H.264 support, you’ll need 60 61 .. code:: bash 62 63 sudo apt-get install libavcodec-extra-*