Home / cs-notes / Operating System / Distributions / CentOS / rpm / upgrade
- rpm -Uvh
basic strategy
- install new version (must higher)
- erase old content
file upgrade
- MD5 compare
- original file
- current file
- new file
- kinds of cases
scripts
- %pre
- %post
- %preun
- %postun