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:
[edit]
Nog even een quotje waarom Yum beter zou zijn dan apt-rpm:
Yum is zeg maar de apt voor rpm
Voor Red Hat 9 is het handig om dit in je /etc/yum.conf te zetten:
Nog wat info over Yum:[freshrpms]
name=Red Hat Linux 9 freshrpms
baseurl=http://ayo.freshrpms.net/redhat/9/i386/freshrpms
In de search kon ik niks vinden over Yum, dus dacht ik dat iemand hier misschien wel iets aan heeftThe 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
[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 ]