Files @ d11fdaf3e279
Branch filter:

Location: libtransport.git/docs/guide/debian_ubuntu.textile

Sebastian Krzyszkowiak
systemd: wait for network-online.target and add WantedBy=multi-user.target

Thanks to that, "systemctl enable spectrum2" does what expected, that is
makes Spectrum2 start on boot. Also, network.target doesn't tell anything
meaningful - it's just that the network stack is available.
Adding network-online.target makes sure that the network interfaces are up
before starting Spectrum2.
We have APT repositories for Debian and Ubuntu that make it very easy to install Spectrum 2.

To use the repositories, just add the following lines to @/etc/apt/sources.list@:

<pre>
deb http://packages.spectrum.im <dist> spectrum2
</pre>

where <dist> is either lenny, squeeze, hardy, intrepid, jaunty, karmic or lucid. If you are unsure, you can usually find your distribution in the file /etc/lsb-release. We also have a source repository at the same location if you want to build the package yourself.

h2. Add GPG key

After you have added the repository, you still have to import the GPG key that is used to sign the packages in the repository. You can do this in two ways:

You can download and add the key manually (apt-key requires root privileges):

<pre>
 wget -O - http://packages.spectrum.im/keys/apt-repository@fsinf.at | apt-key add -
</pre>

You can simply update the repositories and install the fsinf-keyring packages:

<pre>
 apt-get update
 apt-get install fsinf-keyring
 apt-get update
</pre>

Don’t worry about the warnings that the packages can’t be identified, they will be gone after you installed the fsinf-keyring package.

h2. Install spectrum2 - development version

After you have done that, simply do:

<pre>
apt-get install spectrum2 spectrum2-backend-libpurple
</pre>

Note that these repositories pull in quite a few dependencies, depending on the distribution you use.