|
Given the rpm command syntax, -i flag means install. When I'm installing rpms, I usually do "rpm -Uv package.rpm" - -u for update, and -v for verbosity, so that's another way, but -i is best. Also, if you want to reboot, just add a reboot command based on your distro - it may be reboot, shutdown -r now or something similar.
|