62 lines
6.6 KiB
HTML
62 lines
6.6 KiB
HTML
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Repositories</title><meta name="generator" content="DocBook XSL Stylesheets V1.79.1"><link rel="home" 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"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="synaptic-repo"></a>Repositories</h2></div></div></div><p>
|
|
Packages are made available through so called <span class="emphasis"><em>repositories</em></span>. The repository contains the
|
|
packages and an index which includes some basic information about the packages, e.g. required dependencies
|
|
or a short description.
|
|
</p><p>
|
|
Repositories can be located on many medias: CD-Rom/DVD, local hard disk, the Web (http,ftp)
|
|
or remote file system (nfs).
|
|
</p><div class="sect2"><div class="titlepage"><div><div><h3 class="title"><a name="synaptic-repo-update"></a>To Reload the Package Information</h3></div></div></div><p>
|
|
To collect the list of all available packages from the repositories choose one of the following
|
|
methods:
|
|
</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>
|
|
Choose <span class="guimenu">Edit</span> → <span class="guimenuitem">Reload Package Information</span> from the menu.
|
|
</p></li><li class="listitem"><p>
|
|
Click on <span class="guibutton">Reload</span> in the toolbar.
|
|
</p></li></ul></div></div><div class="sect2"><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>
|
|
You can edit, add or delete repositories in the repository preferences.
|
|
</p><p>
|
|
Open the repository editor with <span class="guimenu">Settings</span> → <span class="guimenuitem">Repositories</span> from the menu.
|
|
</p><div class="figure"><a name="idm874"></a><p class="title"><b>Figure 6. Repository Preferences</b></p><div class="figure-contents"><div class="screenshot"><div class="mediaobject"><img src="figures/synaptic-repositories.png" alt="Shows the repository preferences"></div></div></div></div><br class="figure-break"></div><div class="sect2"><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>
|
|
Choose <span class="guimenu">Edit</span> → <span class="guimenuitem">Add CD...</span>
|
|
from the menu.
|
|
</p></div><div class="sect2"><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>
|
|
The package manager stores all available repositories in a text based configuration file.
|
|
Each line describes the type, location and content of one repository.
|
|
</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><div class="table-contents"><table class="table" summary="Syntax of an APT line e.g. deb http://ftp.debian.org sarge main" border="1"><colgroup><col class="COLSPEC0"><col class="COLSPEC1"></colgroup><thead><tr><th align="left" valign="top">
|
|
Element
|
|
</th><th align="left" valign="top">
|
|
Description
|
|
</th></tr></thead><tbody><tr><td valign="top">
|
|
deb
|
|
</td><td valign="top">
|
|
The first elements describes the type of the repository.
|
|
Possible values are <span class="emphasis"><em>deb</em></span> (Debian binary packages), <span class="emphasis"><em>deb-src
|
|
</em></span>(Debian source packages), <span class="emphasis"><em>rpm</em></span> (RPM binary packages),
|
|
<span class="emphasis"><em>rpm-src</em></span> (Redhat source packages), <span class="emphasis"><em>rpmdir</em></span>
|
|
(folder that contains RPM binary packages) and <span class="emphasis"><em>rpmdir-src</em></span>
|
|
(folder that contains RPM source packages).
|
|
</td></tr><tr><td valign="top">
|
|
http://ftp.debian.org
|
|
</td><td valign="top">
|
|
The second element is the location of the repository.
|
|
The repository can be accessed by the protocols HTTP and
|
|
FTP, or locally on a CD, DVD or hard disk.
|
|
</td></tr><tr><td valign="top">
|
|
sarge
|
|
</td><td valign="top">
|
|
The third element describes the distribution for which the
|
|
packages are made for, see the <a class="ulink" href="https://www.debian.org/doc/manuals/developers-reference/ch04.en.html#s4.6.4" target="_top">
|
|
Debian Developer's Reference</a> for more details on distributions of Debian.
|
|
</td></tr><tr><td valign="top">
|
|
main
|
|
</td><td valign="top">
|
|
The forth element describes sections of the
|
|
repository that should be included. By default official Debian repositories are
|
|
separated into the sections <span class="emphasis"><em>main</em></span>, <span class="emphasis"><em>
|
|
contrib</em></span> and <span class="emphasis"><em>non-free</em></span>, see the
|
|
<a class="ulink" href="https://www.debian.org/doc/manuals/developers-reference/ch04.en.html#archive-sections" target="_top">
|
|
Debian Developer's Reference</a> for more details on sections of Debian.
|
|
</td></tr></tbody></table></div></div><br class="table-break"><p>
|
|
</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>
|
|
</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>
|