source: projects/synaptic/trunk/doc/html/C/ar01s04.html @ 280

Revision 280, 6.4 KB checked in by yasumichi, 15 years ago (diff)

first import

Line 
1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Repositories</title><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="Synaptic Package Manager Manual V0.1.2"><link rel="up" href="index.html" title="Synaptic Package Manager Manual V0.1.2"><link rel="prev" href="ar01s03.html" title="Managing Packages"><link rel="next" href="ar01s05.html" title="Custom Filters"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Repositories</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ar01s03.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="ar01s05.html">Next</a></td></tr></table><hr></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="synaptic-repo"></a>Repositories</h2></div></div></div><p>
2                Packages are made available through so called <span class="emphasis"><em>repositories</em></span>. The repository contains the
3                packages and an index which includes some basic information about the packages, e.g. required dependencies     
4                or a short description.
5        </p><p>
6                Repositories can be located on many medias: CD-Rom/DVD, local hard disk, the Web (http,ftp)
7                or remote file system (nfs).
8        </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="synaptic-repo-update"></a>To Reload the Package Information</h3></div></div></div><p>
9                To collect the list of all available packages from the repositories choose one of the following
10                methods:
11        </p><div class="itemizedlist"><ul type="disc"><li><p>
12                                Choose <span class="guimenu">Edit</span>-&gt;<span class="guimenuitem">Reload Package Information</span> from the menu.
13                        </p></li><li><p>
14                                Click on <span class="guibutton">Reload</span> in the toolbar.
15                        </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="synaptic-repo-manage"></a>To Edit, Add or Remove Repositories</h3></div></div></div><p>
16                You can edit, add or delete repositories in the repository preferences.
17        </p><p>
18                Open the repository editor with <span class="guimenu">Preferences</span>-&gt;<span class="guimenuitem">Repositories</span> from the menu.
19        </p><div class="figure"><a name="id2529630"></a><p class="title"><b>Figure 6. Repository Preferences</b></p><div class="screenshot"><div class="mediaobject"><img src="figures/synaptic-repositories.png" alt="
20                                                Shows the repository preferences
21                                        "></div></div></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="synaptic-repo-cdrom"></a>To Add Repositories From CD-ROM</h3></div></div></div><p> 
22                Choose <span class="guimenu">Edit</span>-&gt;<span class="guimenuitem">Add CD...</span>
23                from the menu.
24        </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="synaptic-repo-aptline"></a>The Syntax of the APT line</h3></div></div></div><p> 
25                The package manager stores all available repositories in a text based configuration file.
26                Each line describes the type, location and content of one repository.
27        </p><div class="table"><a name="table-synaptic-aptline-syntax"></a><p class="title"><b>Table 3. Syntax of an APT line e.g. <span class="emphasis"><em>deb http://ftp.debian.org sarge main</em></span></b></p><table summary="Syntax of an APT line e.g. deb http://ftp.debian.org sarge main" border="1"><colgroup><col><col></colgroup><thead><tr><th align="left" valign="top">
28                                                Element
29                                        </th><th align="left" valign="top">
30                                                Description
31                                        </th></tr></thead><tbody><tr><td valign="top">
32                                                deb
33                                        </td><td valign="top">
34                                                The first elements describes the type of the repository.
35                                                Possible values are <span class="emphasis"><em>deb</em></span> (Debian binary packages), <span class="emphasis"><em>deb-src
36                                                </em></span>(Debian source packages), <span class="emphasis"><em>rpm</em></span> (RPM binary packages),
37                                                <span class="emphasis"><em>rpm-src</em></span> (Redhat source packages), <span class="emphasis"><em>rpmdir</em></span>
38                                                (folder that contains RPM binary packages) and <span class="emphasis"><em>rpmdir-src</em></span> 
39                                                (folder that contains RPM source packages).
40                                        </td></tr><tr><td valign="top">
41                                                http://ftp.debian.org
42                                        </td><td valign="top">
43                                                The second element is the location of the repository.
44                                                The repository can be accessed by the protocols HTTP and
45                                                FTP, or locally on a CD, DVD or hard disk.
46                                        </td></tr><tr><td valign="top">
47                                                sarge
48                                        </td><td valign="top">
49                                                The third element describes the distribution for which the
50                                                packages are made for, see the <a href="http://www.debian.org/doc/packaging-manuals/developers-reference/ch-resources.en.html#s4.6.4" target="_top">
51                                                Debian Developer's Reference</a> for more details on distributions of Debian.
52                                        </td></tr><tr><td valign="top">
53                                                main
54                                        </td><td valign="top">
55                                                The forth element describes sections of the
56                                                repository that should be included. By default official Debian repositories are
57                                                separated into the sections <span class="emphasis"><em>main</em></span>, <span class="emphasis"><em>
58                                                contrib</em></span> and <span class="emphasis"><em>non-free</em></span>, see the
59                                                <a href="http://www.debian.org/doc/packaging-manuals/developers-reference/ch-resources.en.html#s4.6.1" target="_top">
60                                                 Debian Developer's Reference</a> for more details on sections of Debian.
61                                        </td></tr></tbody></table></div><p>
62                </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>The distribution and section element are not required for each type.</p></div><p>
63        </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ar01s03.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="ar01s05.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Managing Packages </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Custom Filters</td></tr></table></div></body></html>
Note: See TracBrowser for help on using the repository browser.