LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing virtual box using yum in fedora 8 system (https://www.linuxquestions.org/questions/linux-newbie-8/installing-virtual-box-using-yum-in-fedora-8-system-742170/)

akram 07-23-2009 03:02 AM

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.

Agrouf 07-23-2009 08:17 AM

http://www.virtualbox.org/wiki/Linux_Downloads

akram 07-23-2009 09:42 AM

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

Agrouf 07-23-2009 12:07 PM

yum localinstall VirtualBox*.rpm

sokha 07-23-2009 10:10 PM

Install all the dependency packages, then install rpm package from http://www.virtualbox.org/wiki/Linux_Downloads

Agrouf 07-24-2009 12:27 AM

Edit: Deleted - Wrong thread

btw, yum localinstall manages dependencies

akram 07-27-2009 02:25 AM

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.

simplified 07-27-2009 02:57 AM

Quote:

Originally Posted by akram (Post 3621354)
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 :D

colucix 07-27-2009 03:30 AM

Quote:

Originally Posted by akram (Post 3621354)
[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.

akram 07-27-2009 03:48 AM

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.

colucix 07-27-2009 04:28 AM

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


akram 07-27-2009 09:19 AM

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

colucix 07-27-2009 09:35 AM

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

akram 07-27-2009 11:01 PM

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.

colucix 07-28-2009 01:40 AM

You're welcome! :)


All times are GMT -5. The time now is 07:02 AM.