COMP 3000 2012 Week 4 Notes

From Soma-notes
Revision as of 12:19, 26 September 2012 by Cdelahou (talk | contribs) (→‎Package Management: added example)
Jump to navigation Jump to search

Package Management

  • Two popular ones
    1. dpkg ---> debian
    2. rpm ---> redhat
    3. portage --> gentoo. Compile packages from source
  • Historically, packages distrobuted via compressed archives (filename.tar.gz)
    • Tar --> archives uncompressed
    • .gz, .bz2 --> compression
  • This method does not take into consideration dependencies, -pre&post install scripts

Package management's true innovation was that it handled all this.

Yum, apt-get, aptitude are wrappers built around rpm and dpkg. These also maintain lists of repos and do alot of other things. "They have alot of smarts." Basic functionality is done by dpkg/rpm, though. Use yum and apt-get for system upgrades.