<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE refentry 
  PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
  "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<refentry id="install-to-debian">
<refmeta>
  <refentrytitle role='top_of_page' id='install-to-debian.top_of_page'>Install to Debian GNU/Linux</refentrytitle>
  <refmiscinfo>CUTTER Library</refmiscinfo>
</refmeta>
<refnamediv>
  <refname>Install to Debian GNU/Linux</refname>
  <refpurpose>How to install Cutter to Debian GNU/Linux</refpurpose>
</refnamediv>
<refsect1>
  <title>Introduction</title>
  <para>This document explains how to install Cutter to Debian GNU/Linux.</para>
</refsect1>

<refsect1>
  <title>Install</title>
  <para>You can use apt-get because Cutter provides Debian packages.</para>
  <para>
  There are packages for Debian GNU/Linux wheezy/jessie/sid i386/amd64. If you need a package for another environment, you can request on 
  <ulink url='https://lists.sourceforge.net/lists/listinfo/cutter-users-en'>mailing list</ulink>
  .
</para>
  <para>Here are apt lines for wheezy. Put them into /etc/apt/sources.list.d/cutter.list.</para>
  <para>/etc/apt/sources.list.d/cutter.list:</para>
  <programlisting>deb http://sourceforge.net/projects/cutter/files/debian/ wheezy main
deb-src http://sourceforge.net/projects/cutter/files/debian/ wheezy main</programlisting>
  <para>Here are apt lines for jessie. Put them into /etc/apt/sources.list.d/cutter.list.</para>
  <para>/etc/apt/sources.list.d/cutter.list:</para>
  <programlisting>deb http://sourceforge.net/projects/cutter/files/debian/ jessie main
deb-src http://sourceforge.net/projects/cutter/files/debian/ jessie main</programlisting>
  <para>Cutter packages are signed by key of cutter-keyring. Register the key by installing cutter-keyring package.</para>
  <programlisting>% sudo apt-get update
% sudo apt-get -y --allow-unauthenticated install cutter-keyring</programlisting>
  <para>If you install the keyring package, you can install Cutter by apt-get:</para>
  <programlisting>% sudo apt-get update
% sudo apt-get -y install cutter-testing-framework</programlisting>
</refsect1>

<refsect1>
  <title>The next step</title>
  <para>
  Installation is completed. You should try 
  <link linkend='tutorial'>tutorial</link>
   with the installed Cutter.
</para>
</refsect1>
</refentry>
