Open terminal.
01. Create a directory named gcc under /usr
mkdir /usr/gcc
cd /usr/gcc
02. Download the following files by running the command as follows.
wget http://cudlug.cudenver.edu/GNU/gnu/gcc/ ... .3.tar.bz2
wget http://cudlug.cudenver.edu/GNU/gnu/gcc/ ... .3.tar.bz2
03. Uncompress the two files.
tar xjvf gcc-g++-3.4.3.tar.bz2 ; tar xjvf gcc-core-3.4.3.tar.bz2
04. Then do the following commands.
rm -rf /usr/gcc/obj/* ; mkdir /usr/gcc/obj ; cd /usr/gcc/obj
05. Run the configure with the options C and C++
../gcc-3.4.3/configure -enable-languages=c,c++
06. Make it
make bootstrap ; make install
That’s all.
Verify it with the following commands.
To know the path :
which g++
To know the version:
g++ -v
07 Install Kernel headers and Kernel devel:
yum install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel
08 Now install the VboxLinuxAdditions-x86.run
The way i do this is to drag that file to the desktop.
Open Terminal.
cd Desktop
su
(Now enter your administrator password)
sh VboxLinuxAdditions-x86.run
Thats it - all done.
Installing Virtual Box Guest Additions on Linux (Fedora 10)
Moderator: sjj1805
- sjj1805
- Site Admin
- Posts: 1197
- Joined: Fri Oct 27, 2006 12:45 am
- motherboard: Hewlett Packard 2AF7
- system_drive: C
- 32bit or 64bit: 64 Bit
- processor: 2-90 gigahertz Intel Core i5 4460S
- ram: 8 GB
- video card: NVIDIA GeForce GT 705
- sound card: P40D100-4 NVIDIA High Definition Audio
- Hard_Drive_Capacity: 8 TB
- Location: Birmingham UK
- Contact: