2012-10-12 22:29:08 -05:00
|
|
|
Package management
|
|
|
|
|
******************
|
2012-10-12 23:08:44 -05:00
|
|
|
|
2012-11-06 21:38:42 -06:00
|
|
|
Workflow
|
|
|
|
|
========
|
|
|
|
|
|
|
|
|
|
.. graphviz::
|
|
|
|
|
|
|
|
|
|
digraph foo {
|
2012-12-20 21:52:02 +00:00
|
|
|
"Unix Fundamentals" -> "Package management";
|
2012-11-06 21:38:42 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2012-10-21 14:25:07 -04:00
|
|
|
What is a package manager?
|
2012-10-12 23:08:44 -05:00
|
|
|
==========================
|
|
|
|
|
High level overview.
|
2012-12-26 15:27:31 -05:00
|
|
|
Mention that most flavors of Unix have their own way of managing packages, but
|
2012-10-12 23:08:44 -05:00
|
|
|
at their core they all follow the similar principles (install/uninstall
|
|
|
|
|
packages, keep track of what is installed, etc).
|
|
|
|
|
|
|
|
|
|
RPM and YUM (RedHat, CentOS, Fedora, Scientific Linux)
|
|
|
|
|
===========================================================
|
2012-12-26 15:27:31 -05:00
|
|
|
Some text about what RPM is, what YUM is, and how they both provide two halves of
|
2012-10-12 23:08:44 -05:00
|
|
|
the same function.
|
|
|
|
|
|
|
|
|
|
Installing packages
|
|
|
|
|
-------------------
|
|
|
|
|
|
|
|
|
|
Upgrading packages
|
|
|
|
|
------------------
|
|
|
|
|
|
|
|
|
|
Uninstalling packages
|
|
|
|
|
---------------------
|
|
|
|
|
|
|
|
|
|
Querying the RPM database
|
|
|
|
|
-------------------------
|
|
|
|
|
|
|
|
|
|
Creating packages
|
|
|
|
|
-----------------
|
|
|
|
|
Mention spec files and roughly how RPMs are put together.
|
|
|
|
|
Then introduce FPM and tell them not to bother with spec files yet.
|