In this tutorial we will describe how to install Virtualbox Guest additions on Fedora Linux virtual machine. The rule of thumb here is that the most recent Fedora Linux version requires up to date Vitualbox installation. Having said that, it is possible to install Virtualbox Guest additions for most recent Fedora Linux using outdated Virtualbox installation, however the process would not be that straight forward. Therefore, if possible, before you continue to read, see what version of Virtualbox you are running and compare it with the version found on the official Virtualbox website. The more recent VirtualBox version the less likely you are to run into X server version incompatibility and to get error:
"unknown X server version"
Apart of the updated Virtualbox version this guide also assumes functional Fedora Linux installation with working Internet connection. Lastly, the aim here is to provide a generic guide for Virtualbox Guest additions on Fedora Linux virtual machine and as a result reader needs to adjust some of the following linux commands to is your envireoment.

Step 1: Mount Guest additions

Start your Fedora virtual machine and mount Virtualbox Guest additions by navigating to Virtual box menu -> Devices -> Insert Guest Additions CD image The following message will pop up: installation of Virtualbox Guest additions - Fedora
Hit cancel and navigate to Virtualbox Guest additions mounted directory using your terminal:
# mount | grep -i vbox
/dev/sr0 on /run/media/fedora/VBOXADDITIONS_VERSION type iso9660
# cd /run/media/fedora/VBOXADDITIONS_VERSION
# ls
32Bit  AUTORUN.INF  cert  runasroot.sh            VBoxSolarisAdditions.pkg        VBoxWindowsAdditions.exe
64Bit  autorun.sh   OS2   VBoxLinuxAdditions.run  VBoxWindowsAdditions-amd64.exe  VBoxWindowsAdditions-x86.exe

By default a Fedora Linux does not support playing MP3 files. The same must then apply also for an Amarok music player. To enable MP3 support a user needs to install non-free codec. First add rmpfusion repositories:

NOTE: the command below will enable both free and non-free rmpfusion repositories

$ su -c 'yum localinstall --nogpgcheck \
http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm \
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'

Virtualbox installation on Fedora Linux This short howto will guide a Fedora user with a steps on howto install VirtualBox on a Fedora linux system.

System: Fedora 14 Laughlin , i386

Kernel: 2.6.35.6-48.fc14.i686

Virtualbox Version: 3.2.12 for Linux

First, become a root and install all required prerequisites:

# yum install SDL make automake autoconf gcc kernel-devel dkms

By default your Fedora Linux system comes with a OpenJDK Java fetched from a standard Fedora repository. You may have some reasons to switch from OpenJDK to Oracle Java JRE. In order to achieve this firs download a java binary form oracle website:

http://www.oracle.com/technetwork/java/javase/downloads/index.html

as a root user make jre binary executable:

# chmod +x jre-6u23-linux-i586.bin

Rar archive utility is not avaiable on Fedora linux by default. If you are i need to extract / unrar rar archive files you can use official rarlab command line tool.

First download rar utility package for linux from rarlab.com/download.htm .

Extract gzip tarball:

tar xvzf rarlinux-4.0.b6.tar.gz

ARE YOU LOOKING FOR A LINUX JOB?
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed on LinuxCareers.com.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.