<?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 id="install-to-ubuntu.top_of_page" role="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/Natty Narwhal/Oneiric Ocelot/ Precise Pangloin 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://downloads.sourceforge.net/project/cutter/ubuntu/ lucid main
deb-src http://downloads.sourceforge.net/project/cutter/ubuntu/ lucid main</programlisting>
  <para>Here are apt lines for for Natty. 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/ubuntu/ natty main
deb-src http://downloads.sourceforge.net/project/cutter/ubuntu/ natty main</programlisting>
  <para>Here are apt lines for for Oneiric. 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/ubuntu/ oneiric main
deb-src http://downloads.sourceforge.net/project/cutter/ubuntu/ oneiric main</programlisting>
  <para>Here are apt lines for for Precise. 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/ubuntu/ precise main
deb-src http://downloads.sourceforge.net/project/cutter/ubuntu/ precise 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. We should try
  <link linkend="tutorial">tutorial</link>
   with the installed Cutter.
</para>
</refsect1>
</refentry>
