remove [module/module-version] [-k kernel/arch] [--all]
Removes a module/version or module/version/kernel/arch combination from the tree. If
the module is currently installed, it first uninstalls it and if applicable, will
replace it with its original_module. Use the --all option in order to remove all
instances for every kernel at once.
请参阅: http: //manpages.ubuntu.com/manpages/xenial/man8/dkms.8.html
在链接中指出:
由于您要删除的模块没有与之关联的内核,因此删除它的命令将是:
您只需要指定
module/version
then--all
即可从系统中完全删除模块。