You are not logged in.

#1 2019-06-18 10:33:04

karcher
Member
Registered: 2018-01-09
Posts: 140

[SOLVED] Difference between "dkms remove" and "pacman -R"

Hi all,

I just read this article:
https://wiki.archlinux.org/index.php/Dy … ve_modules

and I was wondering what's the difference between removing the package with dkms and pacman, e.g:

# dkms remove nvidia/331.49 --all
vs.
# pacman -R nvidia-dkms

Could someone please enlighten me?

Last edited by karcher (2019-06-18 12:24:43)

Offline

#2 2019-06-18 11:10:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,672

Re: [SOLVED] Difference between "dkms remove" and "pacman -R"

There are a lot of additional files and information associated with the package. If you run pacman -R it will eventually run dkms remove either way. If you just run dkms remove the module will come back on the next dkms/kernel/package update.

dkms remove doesn't remove the package, it just removes the built modules, that does not prevent the next package update from rebuilding the module again.

Last edited by V1del (2019-06-18 11:11:22)

Offline

#3 2019-06-18 12:24:31

karcher
Member
Registered: 2018-01-09
Posts: 140

Re: [SOLVED] Difference between "dkms remove" and "pacman -R"

@V1del: OK. Thanks!

Offline

Board footer

Powered by FluxBB