You are not logged in.

#1 2017-08-06 12:54:09

loneranger007
Member
Registered: 2017-08-06
Posts: 32

confusion installing virtualbox

Hi, I was trying to install virtualbox on my arch and got confused ;

which to choose between virtualbox-host-dkms and virtualbox-host-modules-arch??


Where there is a shell, there is a way.

Offline

#2 2017-08-06 12:57:06

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: confusion installing virtualbox

https://wiki.archlinux.org/index.php/Vi … e_packages

arch wiki wrote:

Install the virtualbox package. You will need to choose a package to provide host modules:

    for linux kernel choose virtualbox-host-modules-arch
    for other kernels choose virtualbox-host-dkms

Seems pretty clear to me. If you are using the mainline kernel (the "linux" package) install the -arch package. If you are using the LTS kernel or a custom kernel, use the -dkms package, and be sure to read the rest of the wiki section I linked.

Last edited by 2ManyDogs (2017-08-06 12:58:19)

Offline

#3 2017-08-06 13:01:40

loneranger007
Member
Registered: 2017-08-06
Posts: 32

Re: confusion installing virtualbox

i was just trying to understand the difference between them.
i installed dkms before and had a kali host on the VB, but there was some issues with some applications but my win 7 was just working fine.
so just wanted to know is there any probem if im on a linux kernel and install dkms.

my uname output is Linux btw. Thanks


Where there is a shell, there is a way.

Offline

#4 2017-08-06 13:17:03

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: confusion installing virtualbox

Either will work for stock arch kernel.

virtualbox-host-modules-arch are pre-built modules for arch kernel.
virtualbox-host-dkms will build the modules on your system for any/every kernel on your system.

Offline

#5 2017-08-06 13:18:56

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: confusion installing virtualbox

There is no problem with it, you can use DKMS for every kernel. You could simply circumvent the additional "hassle" of using DKMS by using the official precompiled package

Offline

#6 2017-08-06 13:20:38

loneranger007
Member
Registered: 2017-08-06
Posts: 32

Re: confusion installing virtualbox

okkk...i think i got it, i will give it a try.
how do you uninstall this dkms and install host-modules??
just pacman -Rs is enough??


Where there is a shell, there is a way.

Offline

#7 2017-08-06 13:22:58

loneranger007
Member
Registered: 2017-08-06
Posts: 32

Re: confusion installing virtualbox

V1del wrote:

There is no problem with it, you can use DKMS for every kernel. You could simply circumvent the additional "hassle" of using DKMS by using the official precompiled package

which is the official precompiled package?
im sorry if this sound stupid, im new here smile

Last edited by loneranger007 (2017-08-06 13:23:29)


Where there is a shell, there is a way.

Offline

#8 2017-08-06 13:30:19

loneranger007
Member
Registered: 2017-08-06
Posts: 32

Re: confusion installing virtualbox

2ManyDogs wrote:

https://wiki.archlinux.org/index.php/Vi … e_packages

arch wiki wrote:

Install the virtualbox package. You will need to choose a package to provide host modules:

    for linux kernel choose virtualbox-host-modules-arch
    for other kernels choose virtualbox-host-dkms

Seems pretty clear to me. If you are using the mainline kernel (the "linux" package) install the -arch package. If you are using the LTS kernel or a custom kernel, use the -dkms package, and be sure to read the rest of the wiki section I linked.

my uname -r output is 4.9.40-1-lts

so should i go for dkms???


Where there is a shell, there is a way.

Offline

#9 2017-08-06 13:39:23

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: confusion installing virtualbox

Yes... don't triple post you can edit your posts to append new information.

Offline

#10 2017-08-06 13:42:36

loneranger007
Member
Registered: 2017-08-06
Posts: 32

Re: confusion installing virtualbox

V1del wrote:

Yes... don't triple post you can edit your posts to append new information.

ok
can you now please tell me how to remove this virtualbox completely (including the VMs ) and reinstall it fresh. Thanks


Where there is a shell, there is a way.

Offline

#11 2017-08-06 13:57:05

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,723
Website

Re: confusion installing virtualbox

No. Don't be a help vampire, and read the documentation.

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB