Here <code>[-flavor]</code> is optional, and can be <code>-smp</code> or <code>-enterprise</code>. Refer to [[kernel flavors]] for more info.
'''{{Note, |if you are installing 64bit openvz need to install <code>x86_64</code> kernel, and yum offers to install using manually or else yum installs both architectures <code>x86_64</code> and <code>i686 </code> kernels, answer <code>No</code> and specify architecture manually, like this: <code>yum install ovzkernel[-flavor].x86_64 resulting non booting openvz kernel'''</code>. This is fixed in newer yum versions.}}
=== Using rpm ===