<?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 stretch/buster  i386/amd64. If you need a package for another environment, you can request on 
  <ulink url='https://lists.osdn.me/mailman/listinfo/cutter-users-en'>mailing list</ulink>
  .
</para>
  <para>Here are apt lines for stretch. Put them into /etc/apt/sources.list.d/cutter.list.</para>
  <para>/etc/apt/sources.list.d/cutter.list:</para>
  <programlisting>deb [signed-by=/usr/share/keyrings/cutter-keyring.gpg] https://osdn.net/projects/cutter/storage/debian/ stretch main
deb-src [signed-by=/usr/share/keyrings/cutter-keyring.gpg] https://osdn.net/projects/cutter/storage/debian/ stretch main

% sudo wget -O /usr/share/keyrings/cutter-keyring.gpg https://osdn.net/projects/cutter/storage/debian/cutter-keyring.gpg
% sudo apt-get update
% sudo apt-get -y install cutter-testing-framework</programlisting>
  <para>Here are apt lines for buster. Put them into /etc/apt/sources.list.d/cutter.list.</para>
  <para>/etc/apt/sources.list.d/cutter.list:</para>
  <programlisting>deb [signed-by=/usr/share/keyrings/cutter-keyring.gpg] https://osdn.net/projects/cutter/storage/debian/ buster main
deb-src [signed-by=/usr/share/keyrings/cutter-keyring.gpg] https://osdn.net/projects/cutter/storage/debian/ buster main

% sudo wget -O /usr/share/keyrings/cutter-keyring.gpg https://osdn.net/projects/cutter/storage/debian/cutter-keyring.gpg
% 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>
