[ powrót ] [ Spis treści ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 10 ] [ 11 ] [ 12 ] [ 13 ] [ dalej ]


APT HOWTO
Część 1 - Wprowadzenie


Na początku był plik .tar.gz. Użytkownicy musieli kompilować każdy program, który chcieli używać w swoich systemach GNU/Linux. Kiedy stworzono Debiana, uznano za niezbędne włączenie do systemu metody zarządzania pakietami zainstalowanymi na komputerze pracującym pod jego kontrolą. Ten system zarządzania pakietami nazwano dpkg. Tak więc słynne pojęcie `pakietu' weszło do systemów GNU/Linux zanim firma Red Hat zdecydowała się stworzyć swój własny system `rpm'.

Szybko uwagę twórców systemu GNU/Linux zajął nowy dylemat. Potrzebowali oni bardzo szybkiego, praktycznego i sprawnego sposobu instalowania pakietów, który automatycznie zarządzałby zależnościami między pakietami i troszczył się o ich pliki konfiguracyjne podczas aktualizacji. I znów to właśnie Debian wprowadził ten sposób i tak oto narodził się APT (Advanced Packaging Tool), który został przystosowany do współpracy z pakietami rpm przez firmę Conectiva, a następnie wykorzystany także przez inne dystrybucje.

Ten podręcznik nie opisuje apt-rpm, jak nazwano wersję APT-a zmodyfikowaną przez firmę Conectiva, ale "łaty" do tego dokumentu, które by to robiły są mile widziane.

Informacje zawarte w tym podręczniku dotyczą następnego stabilnego wydania Debiana, które nosi nazwę kodową Sarge.


1.1 Basic terminology and concepts

Here you can find some basic terminology and concepts used on this manual:

APT source: an APT source is a location (often on the internet, or possibly on a CDROM or other location) which functions as a repository of Debian packages, see Plik /etc/apt/sources.list, Rozdział 3.1.

APT source line: an APT source line is a line you add to a configuration file to tell APT about the "Apt sources" you want to use, see Plik /etc/apt/sources.list, Rozdział 3.1.

binary package: a binary package is a .deb file prepared to be installed by the package manager (dpkg), it may include binary files but may also carry just architecture-independent data -- it's called binary package either way.

debian-native: package created specifically for Debian, this kind of package usually has the debian control files inside the original source and every new version of the package is also a new version of the original program or data.

debianize: verb usually used to mean "prepare for use with Debian" or, more simply put, packaged in .deb format.

source package: a source package is really an abstract definition to a set of two or three files which are part of the deb source format: a .dsc file, which contains information about the package, also called source control file; a .orig.tar.gz file, which contains the original upstream source for that package -- you may also find this being called .tar.gz, simply, with no .orig, meaning this is a debian-native package; a .diff.gz file, which carries the modifications made to the original source to "debianize" the package -- you will not find this kind of file on a debian-native package.

upstream: this word usually means something that comes from the original developer of the software or data, or the developer himself.

virtual packages: virtual packages are packages that do not really exist, but that are generic services "provided" by some specific packages -- the most common example is the mail-transport-agent package, to which packages that need an MTA[1] can specify a dependency while keeping the user choice as to which MTA to use.


[ powrót ] [ Spis treści ] [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 10 ] [ 11 ] [ 12 ] [ 13 ] [ dalej ]


APT HOWTO

2.0.2 - October 2006

Gustavo Noronha Silva kov@debian.org
polskie tłumaczenie: Paweł Tęcza ptecza@debianusers.pl