library
package management
relates to managing programs as files on disk
foundational library upon which all other programs in the OS depend
linux kernel
purpose of package mangement tools
maintain a database of installed files
software package
self-contained module with tracking for all modules/software on which it depends
package database
checksum
signature of a file to ensure:
two main package managers
- debian
True or False: RPM and Debian package management systems provide tools to help create binary packages
True
binary packages are installed from…
source code
advantage of installing from source rather than compiling
rpm and debian compatibility
two don’t work together
Suse package management
use RPM but are different enough
main Red Hat distributions
RPM cross-platform capability
RPM package nomenclature
packageName-version.Number-buildNumber.architecture.packagemanager
(i.e. Samba-server-3.0.25b-4.5mdv2008.0.x86_64.rpm)
version information for package
can query the rpm bc information is retained within package
distribution-specific scripts
rpm switches
command rpm
- syntax: rpm [operation][options][pkg files | pkg names]
cpio
tool to extract from rpm package
command rpm2cpio
- rpm2cpio [rpmFile] > [cpio file]
cpio switches
yum tool