LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-23-2009, 04:02 AM   #1
akram
Member
 
Registered: Jul 2009
Posts: 31

Rep: Reputation: 15
installing virtual box using yum in fedora 8 system


Dear All

is any one guide me that how can I install virtual box using yum command in my fedora 8 desktop machine.

because when I try to install this package its gives me the message that

fedora 100% |=========================| 2.1 kB 00:00
updates 100% |=========================| 2.6 kB 00:00
adobe-linux-i386 100% |=========================| 951 B 00:00
Setting up Install Process
Parsing package install arguments
No package virtualbox available.
Nothing to do

is any repository will added or any other problem I facing for this...

Plz guide and help for installing the package.

Thanks.
 
Old 07-23-2009, 09:17 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
http://www.virtualbox.org/wiki/Linux_Downloads
 
Old 07-23-2009, 10:42 AM   #3
akram
Member
 
Registered: Jul 2009
Posts: 31

Original Poster
Rep: Reputation: 15
Dear Agrouf,

the site you are telling me "http://www.virtualbox.org/wiki/Linux_Downloads" has rpm available for this package, but when I install through an rpm it gives me the dependencies error messages, that some other packages are required for installing this package.

that way I was try to install through yum command, how to add this site "http://www.virtualbox.org/wiki/Linux_Downloads" as repository for yum command, so that it can be installed.


Regards,

Akram
 
Old 07-23-2009, 01:07 PM   #4
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
yum localinstall VirtualBox*.rpm
 
Old 07-23-2009, 11:10 PM   #5
sokha
Member
 
Registered: Sep 2008
Posts: 46

Rep: Reputation: 15
Install all the dependency packages, then install rpm package from http://www.virtualbox.org/wiki/Linux_Downloads
 
Old 07-24-2009, 01:27 AM   #6
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Edit: Deleted - Wrong thread

btw, yum localinstall manages dependencies

Last edited by Agrouf; 07-24-2009 at 01:29 AM.
 
Old 07-27-2009, 03:25 AM   #7
akram
Member
 
Registered: Jul 2009
Posts: 31

Original Poster
Rep: Reputation: 15
required help for installing the virtualbox package on fedora 8 system

Dear Agrouf, & all friends.

I have installing the Virtual box Package with all its dependencies, also install kernel devil packages, that are all installed successfully.

Also the folder is available name vboxdrv on the path /etc/init.d/, also the system tools bar shows the program "Sun virtual box", but when I execute it setup using the following command, with the root privileges on this path, describe above.

[root@localhost init.d]# vboxdrv
bash: vboxdrv: command not found
[root@localhost init.d]# vboxdrv setup
bash: vboxdrv: command not found
[root@localhost init.d]#
it gives me the error as shown above that vboxdrv: command not found.

also one thing more that when I take query about rpm for this package
so it never shows me that the package is installed on the machine.

the output of command is

[akram@localhost ~]$ su
Password:
[root@localhost akram]# rpm -qa virtualbox
[root@localhost akram]#


Plz guide me what the way it it will be resolve.


waiting for response

Thanks.

Akram.
 
Old 07-27-2009, 03:57 AM   #8
simplified
Member
 
Registered: May 2007
Location: London, UK
Distribution: Kubuntu 9.04 x64 / Ubuntu Server 9.04 x64
Posts: 50

Rep: Reputation: 15
Quote:
Originally Posted by akram View Post
Dear Agrouf, & all friends.

I have installing the Virtual box Package with all its dependencies, also install kernel devil packages, that are all installed successfully.

Also the folder is available name vboxdrv on the path /etc/init.d/, also the system tools bar shows the program "Sun virtual box", but when I execute it setup using the following command, with the root privileges on this path, describe above.

[root@localhost init.d]# vboxdrv
bash: vboxdrv: command not found
[root@localhost init.d]# vboxdrv setup
bash: vboxdrv: command not found
[root@localhost init.d]#
it gives me the error as shown above that vboxdrv: command not found.

also one thing more that when I take query about rpm for this package
so it never shows me that the package is installed on the machine.

the output of command is

[akram@localhost ~]$ su
Password:
[root@localhost akram]# rpm -qa virtualbox
[root@localhost akram]#


Plz guide me what the way it it will be resolve.


waiting for response

Thanks.

Akram.
Hi Akram

I've got this installed on my Ubuntu box and you can run it by executing this command:

Code:
$ /usr/bin/VirtualBox
... however there is a gotcha with VirtualBox. You need to ensure that you are in the group "vboxusers" to run VirtualBox which is probably why it's not working. Edit the file /etc/group and add your name to the following line (in this example I'm assuming your username is 'akram'):

Code:
vboxusers:x:122:akram
Note that your group ID (in the above example '122') may (and probably will) be different.

Good luck buddy! Simplified
 
Old 07-27-2009, 04:30 AM   #9
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Quote:
Originally Posted by akram View Post
[root@localhost akram]# rpm -qa virtualbox
[root@localhost akram]#
The name of the package is VirtualBox, with "V" and "B" uppercase:
Code:
rpm -q VirtualBox
to check which is the name of the executable, you can try:
Code:
rpm -ql VirtualBox | grep /bin | xargs ls -ld
this will show a long list of all the executables installed by the package. You will see that the real executable is VBox and VirtualBox is a link to VBox. In any case, follow instructions on the VirtualBox user manual, here.
 
Old 07-27-2009, 04:48 AM   #10
akram
Member
 
Registered: Jul 2009
Posts: 31

Original Poster
Rep: Reputation: 15
Dear Agrouf

username 'akram' is added to to vboxusers group, according to your guideline.

and executing the command as you say, I find a error message

[root@localhost bin]# VirtualBox
VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: /usr/lib/virtualbox/VirtualBox.so: undefined symbol: _ZN7QRegionpLERK5QRect


guide me for this again, why it is hepping.


Thanks.

Regards

Akram.
 
Old 07-27-2009, 05:28 AM   #11
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
It looks like a problem with Qt libraries (someone reported an incompatibility between some versions of VirtualBox and the installed Qt libraries). What is the output from the following commands?
Code:
ldd /usr/lib/virtualbox/VirtualBox.so
rpm -qa qt*
rpm -q VirtualBox
 
Old 07-27-2009, 10:19 AM   #12
akram
Member
 
Registered: Jul 2009
Posts: 31

Original Poster
Rep: Reputation: 15
Dear colucix

the output of following commands is follows.

[root@localhost ~]# ldd /usr/lib/virtualbox/VirtualBox.so
linux-gate.so.1 => (0x00110000)
VBoxKeyboard.so => /usr/lib/virtualbox/VBoxKeyboard.so (0x00519000)
VBoxRT.so => /usr/lib/virtualbox/VBoxRT.so (0x00527000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x005c2000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x005cc000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x005dc000)
VBoxXPCOM.so => /usr/lib/virtualbox/VBoxXPCOM.so (0x006d8000)
libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x007d2000)
libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0x00b1d000)
libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0x00950000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x009e8000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00a83000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x062a2000)
libm.so.6 => /lib/libm.so.6 (0x00a9c000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00ac5000)
libc.so.6 => /lib/libc.so.6 (0x03250000)
libz.so.1 => /lib/libz.so.1 (0x00ad1000)
librt.so.1 => /lib/librt.so.1 (0x00ae4000)
libdl.so.2 => /lib/libdl.so.2 (0x00aed000)
libcrypto.so.6 => /lib/libcrypto.so.6 (0x02d6a000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0x01261000)
libcurl.so.4 => /usr/lib/libcurl.so.4 (0x07d37000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00af2000)
libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00afb000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x07637000)
libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0x07617000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x07957000)
libgthread-2.0.so.0 => /lib/libgthread-2.0.so.0 (0x07677000)
libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x01fc0000)
libaudio.so.2 => /usr/lib/libaudio.so.2 (0x0427d000)
libXt.so.6 => /usr/lib/libXt.so.6 (0x0514f000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x04a47000)
libSM.so.6 => /usr/lib/libSM.so.6 (0x04633000)
libICE.so.6 => /usr/lib/libICE.so.6 (0x04897000)
libXi.so.6 => /usr/lib/libXi.so.6 (0x041e4000)
libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x01e96000)
libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x03dc4000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x01395000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x03f24000)
/lib/ld-linux.so.2 (0x00b00000)
libidn.so.11 => /usr/lib/libidn.so.11 (0x01421000)
libssl3.so => /usr/lib/libssl3.so (0x01452000)
libsmime3.so => /usr/lib/libsmime3.so (0x03ee4000)
libnss3.so => /usr/lib/libnss3.so (0x0147d000)
libplds4.so => /usr/lib/libplds4.so (0x01501000)
libplc4.so => /usr/lib/libplc4.so (0x03dd4000)
libnspr4.so => /usr/lib/libnspr4.so (0x03f6c000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x03ddc000)
libexpat.so.1 => /lib/libexpat.so.1 (0x03eb4000)
[root@localhost ~]#


[root@localhost ~]# rpm -qa qt*
qt4-4.3.2-1.fc8
qt4-x11-4.3.2-1.fc8
[root@localhost ~]#

[root@localhost ~]# rpm -q VirtualBox
VirtualBox-3.0.2_49928_fedora8-1
[root@localhost ~]#


Regards,

Akram
 
Old 07-27-2009, 10:35 AM   #13
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
The release of qt4 is a bit old. The last update for fedora 8 was 4.4.3. Try the following:
Code:
# yum install fedora-release
# yum update qt4 qt4-x11
Most likely you have to recompile the virtualbox module after the update of qt4. You can do that by issuing:
Code:
/etc/init.d/vboxdrv setup

Last edited by colucix; 07-27-2009 at 10:37 AM.
 
Old 07-28-2009, 12:01 AM   #14
akram
Member
 
Registered: Jul 2009
Posts: 31

Original Poster
Rep: Reputation: 15
Dear colucix, Agrouf, & sokha

Thank you my friends, according to your guideline, I successfully installed Virtual box on my fedora system.

Dear colucix,
As you say that, The release of qt4 is a bit old. The last update for fedora 8 was 4.4.3., I update these packages according to your guideline, and then it was executed successfully.

Thanks again all friends of the forum.


Regards,

Akram.
 
Old 07-28-2009, 02:40 AM   #15
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
You're welcome!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 10--on Virtual Box (wireless) cnotejunebug Fedora 2 01-11-2009 11:46 AM
virtual box 2.1 problem on fedora 10 manojabala Linux - Software 1 01-08-2009 03:23 PM
Can't go beyond 800x600 resolution when running Fedora 10 on Virtual box. zeezulander Linux - Newbie 4 12-22-2008 12:46 PM
Help with VIrtual Box installing windows xp edgartech Ubuntu 6 05-23-2008 04:52 PM
Installing XP on Virtual Box in Ubuntu 7.04 Neo-Leper Linux - Software 6 07-23-2007 02:56 PM


All times are GMT -5. The time now is 08:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration