If you have a system with Oracle Linux 6 installed but you are not using public-yum, and you want to play with our mainline kernel builds from the playground channel, then you need to create a simple, small yum repo file and you are all set.
Some reasons could be that your system is configured for a local yum repository for updates, or you are registered directly with ULN.
Either way, a very simple example file can be found here. Just put the file in /etc/yum.repos.d.
# cat /etc/yum.repos.d/playground.repo [ol6_playground] name=Oracle Linux mainline kernel playground $releasever ($basearch) baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/playground/latest/$basearch/ gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6 gpgcheck=1 enabled=1
Once this file exists, you can use yum to install the new kernels. At time of writing, this is kernel-3.7.2-3.7.y.20130115.ol6.x86_64. Just go look in the directory to see which kernels have been published and pick the one you want to install. As you can see source, binary, devel, debug, headers, firmware and doc versions of the packages are there.
# yum install kernel-3.7.2-3.7.y.20130115.ol6.x86_64 Loaded plugins: refresh-packagekit, rhnplugin, security Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package kernel.x86_64 0:3.7.2-3.7.y.20130115.ol6 will be installed --> Processing Dependency: kernel-firmware = 3.7.2-3.7.y.20130115.ol6 for package: kernel-3.7.2-3.7.y.20130115.ol6.x86_64 --> Running transaction check ---> Package kernel-firmware.noarch 0:2.6.32-279.19.1.el6 will be updated ---> Package kernel-firmware.noarch 0:3.7.2-3.7.y.20130115.ol6 will be an update --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: kernel x86_64 3.7.2-3.7.y.20130115.ol6 ol6_playground 24 M Updating for dependencies: kernel-firmware noarch 3.7.2-3.7.y.20130115.ol6 ol6_playground 997 k Transaction Summary ================================================================================ Install 1 Package(s) Upgrade 1 Package(s) Total download size: 25 M Is this ok [y/N]: y Downloading Packages: (1/2): kernel-3.7.2-3.7.y.20130115.ol6.x86_64.rpm | 24 MB 00:18 (2/2): kernel-firmware-3.7.2-3.7.y.20130115.ol6.noarch.rpm | 997 kB 00:00 -------------------------------------------------------------- Total 1.3 MB/s | 25 MB 00:19 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Updating : kernel-firmware-3.7.2-3.7.y.20130115.ol6.noarch 1/3 Installing : kernel-3.7.2-3.7.y.20130115.ol6.x86_64 2/3 Cleanup : kernel-firmware-2.6.32-279.19.1.el6.noarch 3/3 Verifying : kernel-firmware-3.7.2-3.7.y.20130115.ol6.noarch 1/3 Verifying : kernel-3.7.2-3.7.y.20130115.ol6.x86_64 2/3 Verifying : kernel-firmware-2.6.32-279.19.1.el6.noarch 3/3 Installed: kernel.x86_64 0:3.7.2-3.7.y.20130115.ol6 Dependency Updated: kernel-firmware.noarch 0:3.7.2-3.7.y.20130115.ol6 Complete!Now just a simple reboot and you are all set.