Česká verze této stránky
What is APT?
Ever tried to upgrade your RPM-based system
package-by-package, only to realize that you need some more packages
to satisfy the dependences? Do you want a tool which would download
the necessary depending packages for you? Then APT for RPM is the tool you want.
APT, the Advanced Package Tool originates from the
Debian GNU/Linux project.
It has been ported to RPM-based
distributions by Conectiva,
and it is an integral part of Conectiva Linux distribution. However,
it can be used for other RPM-based distributions as well, provided that
there is a repository of packages for this distribution, which contains
the packages itself and a necessary meta-data. The
Linux.CZ server now contains both for
several RPM-based distributions.
Available trees at ftp.linux.cz
Getting the APT package
These packages are mirrored from apt.freshrpms.net.
How to use APT on my Linux distribution?
The quick start can be as follows:
- Get the RPM package of apt, for example from one of the above links.
- Install this package using "rpm -i apt-...rpm".
- Edit the /etc/apt/sources.list to reflect the repositories
you want to use. You can download this file set up to use the
repositories at ftp.linux.cz from the links above.
- Run "apt-get update".
- It is possible (if you have "played" with --force or --nodeps when
installing RPM packages) that your system contains broken
dependencies, which APT refuses to embrace. You can try to correct
the dependencies with "apt-get -f install" or manually
remove/install the required/offending packages.
- Run "apt-get upgrade".
For details, refer to the apt-get.1 manual page.
Alternatives?
One of the alternative systems is up2date, an automatic system for
updating packages in Red Hat Linux. It can be used against the
Red Hat Network (which may be
limited to a fixed number of free servers per institution), or
against the servers of the Current
system, one of which runs also on
our WWW server.
[LINUX]
[CZLUG]
[WebMaster]
[O serveru]