Forked from Brainiarc7/One line to rebuild all DKMS modules on Ubuntu
Created
April 6, 2023 13:36
-
-
Save schniggie/e5d61c8c64eefb29f124c1c5cbed0016 to your computer and use it in GitHub Desktop.
One line to rebuild all DKMS modules on Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Here goes. | |
ls /usr/src/linux-headers-* -d | sed -e 's/.*linux-headers-//' | \ | |
sort -V | tac | sudo xargs -n1 /usr/lib/dkms/dkms_autoinstaller start | |
Run as root. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment