If you are looking to install a new kernel on the running system of yours then you should use the rpm –ivh. you can also use the below mentioned command on the terminal.
Code:
su -c "rpm -ivh --force $HOME/rpmbuild/RPMS/<arch>/kernel-<version>.<arch>.rpm"
In case you have changed the name of the kernel and the firmware and kernel headers are not matching then you should use the below mentioned command.
Code:
su -c "rpm -ivh $HOME/rpmbuild/RPMS/<arch>/kernel-<version>.<arch>.rpm \
$HOME/rpmbuild/RPMS/<arch>/kernel-firmware-<version>.<arch>.rpm \
$HOME/rpmbuild/RPMS/<arch>/kernel-headers-<version>.<arch>.rpm \
$HOME/rpmbuild/RPMS/<arch>/kernel-devel-<version>.<arch>.rpm"
This command would install the kernel in /boot.
Bookmarks