<?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>We can use aptitude because Cutter provides Debian packages.</para>
  <para>
  There are packages for Debian GNU/Linux squeeze/wheezy/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 for squeeze. We put them into /etc/apt/sources.list.d/cutter.list.</para>
  <para>/etc/apt/sources.list.d/cutter.list:</para>
  <programlisting>deb http://downloads.sourceforge.net/project/cutter/debian/ squeeze main
deb-src http://downloads.sourceforge.net/project/cutter/debian/ squeeze main</programlisting>
  <para>Here are apt lines for for wheezy. We put them into /etc/apt/sources.list.d/cutter.list.</para>
  <para>/etc/apt/sources.list.d/cutter.list:</para>
  <programlisting>deb http://downloads.sourceforge.net/project/cutter/debian/ wheezy main
deb-src http://downloads.sourceforge.net/project/cutter/debian/ wheezy main</programlisting>
  <para>Here are apt lines for for sid. We put them into /etc/apt/sources.list.d/cutter.list.</para>
  <para>/etc/apt/sources.list.d/cutter.list:</para>
  <programlisting>deb http://downloads.sourceforge.net/project/cutter/debian/ unstable main
deb-src http://downloads.sourceforge.net/project/cutter/debian/ unstable 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 aptitude:</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. We should try
  <link linkend="tutorial">tutorial</link>
   with the installed Cutter.
</para>
</refsect1>
</refentry>
