How to Uninstall DKMS Module on Ubuntu 20.04 LTS

August 7, 2020 | By the+gnu+linux+evangelist.

Uninstalling

  1. Removing DKMS Kernel Module

    Now to Remove DKMS Kernel Module
    To list the availables DKMS Modules use:

    dkms status

    In case of a Broadcom Wl Module the output is:
    bcmwl
    Possibly to find out the Module Identifier:

    ls /var/lib/dkms/bcmwl

    With a output like:
    6.30.223.271
    Then, to Remove the Module from All the Kernels use:

    sudo dkms remove bcmwl/6.30.223.271 --all

    To remove it only from the current Kernel use instead:

    sudo dkms remove bcmwl/6.30.223.271 -k `uname -r`

    Now test the new Setup rebooting:

    sudo reboot

    But in case of a Custom Kernel installation you may be forced also to Remove the Module Directory…
    Like for instance:

    sudo rm -rf /var/lib/dkms/bcmwl

    Finally, possibly you can then try to Reinstall the Module in the New Kernel.

Contents


QuickChic Theme • Powered by WordPress