<?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-ubuntu">
<refmeta>
  <refentrytitle role="top_of_page" id="install-to-ubuntu.top_of_page">Install to Ubuntu</refentrytitle>
  <refmiscinfo>CUTTER Library</refmiscinfo>
</refmeta>
<refnamediv>
  <refname>Install to Ubuntu</refname>
  <refpurpose>How to install Cutter to Ubuntu</refpurpose>
</refnamediv>
<refsect1>
  <title>Introduction</title>
  <para>This document explains how to install Cutter to Ubuntu Linux.</para>
</refsect1>

<refsect1>
  <title>Install</title>
  <para>We can use aptitude because Cutter provides Debian packages.</para>
  <para>
  There are packages for Ubuntu Lucid Lynx/Maverick Meerkat 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 Lucid. We put them into /etc/apt/sources.list.d/cutter.list.</para>
  <para>/etc/apt/sources.list.d/cutter.list:</para>
  <programlisting>deb http://cutter.sourceforge.net/ubuntu/ lucid main
deb-src http://cutter.sourceforge.net/ubuntu/ lucid main</programlisting>
  <para>Here are apt lines for for Maverick. We put them into /etc/apt/sources.list.d/cutter.list.</para>
  <para>/etc/apt/sources.list.d/cutter.list:</para>
  <programlisting>deb http://cutter.sourceforge.net/ubuntu/ maverick main
deb-src http://cutter.sourceforge.net/ubuntu/ maverick main</programlisting>
  <para>Cutter packages are signed by key of kou@cozmixng.org/kou@clear-code.com. If we trust the key, we can register the key:</para>
  <programlisting>% gpg --keyserver hkp://subkeys.pgp.net --recv-keys 1C837F31
% gpg --export 1C837F31 | sudo apt-key add -</programlisting>
  <para>If we register the key, we can install Cutter by aptitude:</para>
  <programlisting>% sudo aptitude update
% sudo aptitude -V -D 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>
