You are not logged in.

#1 2014-01-06 19:47:51

kamrava
Member
Registered: 2013-12-08
Posts: 75

[Solved] Installing Virtual box

I'm trying to install Virtual box from `.run` file. (I downloaded that from http://download.virtualbox.org/virtualb … amd64.run)

I'm runing following command to install Virtual box :

 sudo sh VirtualBox-4.3.6-91406-Linux_amd64.run  

Gets me following error :

VirtualBox Version 4.3.6 r91406 (2013-12-18T16:33:45Z) installer
Please install the build and header files for your current Linux kernel.
The current kernel version is 3.12.6-1-ARCH
Problems were found which would prevent VirtualBox from installing.
Please correct these problems and try again.

Any helps would be appreciated.

Last edited by kamrava (2014-01-06 19:55:23)

Offline

#2 2014-01-06 19:50:28

haaja
Member
Registered: 2011-03-30
Posts: 22
Website

Re: [Solved] Installing Virtual box

You need to install kernel headers.

# pacman -S linux-headers

Offline

#3 2014-01-06 19:55:11

kamrava
Member
Registered: 2013-12-08
Posts: 75

Re: [Solved] Installing Virtual box

haaja wrote:

You need to install kernel headers.

# pacman -S linux-headers

Thank You. Solved...

Offline

#4 2014-01-06 20:12:35

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: [Solved] Installing Virtual box

Best was

# pacman -S linux-headers virtualbox

Why installing foreigner programs ?


do it good first, it will be faster than do it twice the saint wink

Offline

#5 2014-01-06 20:24:25

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Installing Virtual box

linux-headers is a dependency of virtualbox-host-modules, which is a dependency of virtualbox, so 'pacman -S virtualbox' is enough.

kamrava, please remove the VB you installed manually and use the VB from the repos.

Last edited by karol (2014-01-06 20:28:18)

Offline

#6 2014-01-06 20:25:36

haaja
Member
Registered: 2011-03-30
Posts: 22
Website

Re: [Solved] Installing Virtual box

TheSaint wrote:

Best was

# pacman -S linux-headers virtualbox

Virtualbox only need the kernel headers during the build phase. Even if that wasn't the case, pacman can handle dependencies just fine.

Offline

#7 2014-01-06 20:28:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] Installing Virtual box

haaja wrote:
TheSaint wrote:

Best was

# pacman -S linux-headers virtualbox

Virtualbox only need the kernel headers during the build phase. Even if that wasn't the case, pacman can handle dependencies just fine.

Indeed, my mistake.

Offline

#8 2014-01-07 17:50:59

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: [Solved] Installing Virtual box

I saw my mistake just after I posted it smile


do it good first, it will be faster than do it twice the saint wink

Offline

Board footer

Powered by FluxBB