Nog een package manager-uitbreiding ala apt voor RedHat

Pagina: 1
Acties:

  • nrg
  • Registratie: April 2001
  • Laatst online: 22:45
Ik zat net rond te browsen op een Linux site , en daar trof ik een link aan naar deze pagina.

Yum is zeg maar de apt voor rpm :)

Voor Red Hat 9 is het handig om dit in je /etc/yum.conf te zetten:
[freshrpms]
name=Red Hat Linux 9 freshrpms
baseurl=http://ayo.freshrpms.net/redhat/9/i386/freshrpms
Nog wat info over Yum:
The Duke University has released version 2.0 of their awesome updating tool for Red Hat Linux 9

What is Yum?

Yum is an automatic updater and package installer/remover for rpm systems. It automatically computes dependencies and figures out what things should occur to install packages. It makes it easier to maintain groups of machines without having to manually update each one using rpm.

Features include:

* Multiple Repositories
* Simple config file
* Correct dependency calculation
* Fast operation
* rpm-consistent behavior
* comps.xml group support, including multiple repository groups
* Simple interface
In de search kon ik niks vinden over Yum, dus dacht ik dat iemand hier misschien wel iets aan heeft :)

[edit]
Nog even een quotje waarom Yum beter zou zijn dan apt-rpm:
Q. Why not just use apt-rpm?
A. a number of reasons:

1. apt determines dependencies etc then it runs: rpm -i --nodeps --noorder [bunch of stuff here]
* that's messy
* that limits simultaneous erases and installs
* am I the only one who shudders at the system call being made for its MAJOR operation?

*note - I've learned that this has recently been patched so it uses rpmlib directly, good for them
2. Size of codebase in apt (find -name \*.cc | xargs wc -l): 40141
Size of codebase in yum (find -name \*.py | xargs wc -l): 4681
3. Yum doesn't build this huge pkg information file (packages.gz) it has a small pkg list (header.info) but then it passes around the REAL rpm headers. Its cleaner and easier, less things have the potential to get lost in the translation b/c there is, ultimately, no translation.
4. Yum is written in python and therefore can benefit from code theft from anaconda and up2date - I did indeed steal the lilo updating code directly from up2date and learned A LOT from anaconda.
5. Yum provides the features of apt w/o all the dpkg-compatibility baggage.

[ Voor 36% gewijzigd door nrg op 06-08-2003 12:27 ]


Verwijderd

mooie hint ik ga het eens proberen

ben benieuwd of het met AS 2.1 werkt

[ Voor 38% gewijzigd door Verwijderd op 06-08-2003 17:17 ]


  • NaliXL
  • Registratie: Maart 2002
  • Laatst online: 01-05 19:30
Hadden we daar urpmi al niet voor? Of is dat mandrake-only?

Genoeg is meer dan veel, en tart den overvloed


  • nrg
  • Registratie: April 2001
  • Laatst online: 22:45
Verwijderd schreef op 06 August 2003 @ 17:16:
mooie hint ik ga het eens proberen

ben benieuwd of het met AS 2.1 werkt
AS? Advanced Server? Sorry, ik weet nauwelijks iets van Red Hat, ik gebruik het pas sinds gisteren :)
NaliXL schreef op 06 August 2003 @ 17:27:
Hadden we daar urpmi al niet voor? Of is dat mandrake-only?
Dat zegt me niks, maar ik heb Mandrake ook nog nooit gebruikt :)