Installing from source code on Linux¶
Before building Spectrum from source code, you need to install the following dependencies:
- libpoco – at least version 1.3.3
- libpurple (part of the Pidgin project) version 2.6.0 or later.
- Gloox – version 1.0
- gettext
- CMake
For spectrumctl, you also need Python (2.5 or 2.6) and python-xmpp.
If you also want to build tests, you have to install CppUnit.
Get the source code¶
You can get the most recent source straight from git using this command:
git clone git://github.com/hanzz/spectrum.git
You can also get the source code of our 0.2 release. For older releases, please see Installing Spectrum.
Compile and install spectrum¶
Once you have downloaded the source code, you can build Spectrum:
cd spectrum cmake . make sudo make install