Step 1 Add Required Yum Repositories Firstly you are required to add Virtual. Box yum repository in your system. Download repository file from its official site and place it under at etcyum. First navigate to etcyum. For Cent. OSRHEL Systems. For Fedora Systems. Cent. OS and Red Hat users also need to add EPEL yum repository using one of the following commands. Cent. OSRHEL 7, 6. Bit x. 866. 4. Uvh http epel. Cent. OSRHEL 6, 6. Bit x. 866. 4. Uvh http epel. Step 2 Install Required Packages Before installing Virtual. Box make sure to install all required packages to run Virtual. Box like kernel headers, kernel devels etc. Use the following command to install required packages. After installing latest kernel and kernel headers, lets reboot your system and start with Latest kernel. Step 3 Setup Environment Variable Virtual. Box installation required kernel source code to install required modules, So we need to configure environment variable KERNDIR to which Virtual. Microsoft Office Word Cursor Problems On Computer. Box get kernel source code. In my case latest kernel source is available in 2. Make sure you are using correct source path. KERNDIRusrsrckernelsuname rStep 4 Install Oracle Virtual. Box and Setup Use the following command to install Virtual. Box using yum command line tool. It will install the latest version of Virtual. Box 5. 2 on your system. Virtual. Box 5. 2. After installation, we need to rebuild kernel modules using the following command. Step 5 Launch Virtual. Box Use following command to start Virtual. Box from X windows. You can switch to GUI mode using init 5 or startx commands from terminal.