Changeset - a8787bbca1ea
[Not reviewed]
0 1 1
Jan Kaluza - 10 years ago 2015-12-29 12:47:17
jkaluza@redhat.com
Fix #83 - Document a way how to compile Spectrum 2 on Debian/Ubuntu
2 files changed with 26 insertions and 0 deletions:
0 comments (0 inline, 0 general)
documentation/admin.md
Show inline comments
 
---
 
layout: page
 
title: Spectrum 2
 
---
 

	
 
This is Admin documentation for Spectrum 2 transport. If you are user trying to use Spectrum 2, you should switch to [User documentation](user.html).
 

	
 
#### About
 

	
 
* [What is Spectrum 2?](about.html)
 

	
 
#### Installation
 

	
 
* [Installing using Docker](installation/docker.html)
 
* [Installing from source code](installation/from_source_code.html)
 
* [Installing from source code on Debian/Ubuntu](installation/from_source_code_debian_ubuntu.md)
 

	
 
#### Frontends
 

	
 
* [Frontends overview](frontends/frontends.html)
 
* [XMPP Frontend](frontends/xmpp.html)
 
   * [Using SSL in server mode](configuration/server_ssl.html)
 
   * [Spectrum 2 as bouncer](configuration/bouncer.html)
 
* [Slack Frontend](frontends/slack.html)
 

	
 
#### Backends
 

	
 
* [Backends overview](backends/backends.html)
 
* [Libpurple backend](backends/libpurple.html)
 
* [Libcommuni backend](backends/libcommuni.html)
 
* [Twitter backend](backends/twitter.html)
 
* [Transwhat backend](backends/transwhat.html)
 

	
 
#### Tutorials
 

	
 
* [XMPP Frontend](frontends/xmpp.html)
 
   * [Spectrum 2 in gateway mode](tutorials/gateway_mode.html)
 

	
 
#### Configuration
 

	
 
* [Configuration file description](configuration/config_file.html)
 
* [MySQL Support](configuration/mysql.html)
 
* [PostgreSQL Support](configuration/postgresql.html)
 
* [Logging](configuration/logging.html)
 

	
 

	
 

	
 
#### Management
 

	
 
* [spectrum2_manager tool](management/spectrum2_manager.html)
 
* [Getting a backtrace](management/getting_backtrace.html)
 
* [Munin integration](management/munin.html)
 

	
 
#### Development
 

	
 
* [Spectrum 2 architecture](development/architecture.html)
 
* [Writing backend in any language (or How the backend works inside)](development/protocol.html)
documentation/installation/from_source_code_debian_ubuntu.md
Show inline comments
 
new file 100644
 
---
 
layout: page
 
title: Spectrum 2
 
---
 

	
 
## Installing from source-code on Debian/Ubuntu
 

	
 
If you need IRC support, build and install Communi, a required dependency of Spectrum 2:
 

	
 
	# apt-get install git-buildpackage libssl-dev libqt4-dev
 
	$ git clone git://github.com/vitalyster/libcommuni-gbp.git /tmp/libcommuni-gbp
 
	$ cd /tmp/libcommuni-gbp
 
	$ gbp buildpackage -b -uc -us
 
	$ cd /tmp
 

	
 
When the compilation process has ended the .deb packages for libcommuni and libcommuni-dev will be generated in the current directory and can be installed with `dpkg -i < filename.deb >`.
 

	
 
Next, build and install Spectrum 2:
 

	
 
	# apt-get install libpurple-dev libswiften-dev libprotobuf-dev libmysqlclient-dev liblog4cxx10-dev protobuf-compiler libpopt-dev libdbus-glib-1-dev libpqxx3-dev cmake libevent-dev libboost-all-dev libidn11-dev libxml2-dev libavahi-client-dev libavahi-common-dev libcurl4-openssl-dev libsqlite3-dev
 
	$ git clone git://github.com/hanzz/spectrum2.git /tmp/spectrum2
 
	$ cd /tmp/spectrum2/packaging/debian
 
	$ sh build_spectrum2.sh
 

	
 
When the compilation process has ended the .deb packages will be generated in the current directory and can be installed with `dpkg -i < filename.deb >`.
0 comments (0 inline, 0 general)