Question: how to install dkms package in ubuntu?
Answer: Make sure dkms package is installed by running command: sudo apt-get install dkms.
Go to this page.
You will find a table under the "Packages" heading. ... 
Click the arrow (to the left) to expand the row of the selected package.
Under the new section "Package files", click the file ending with ". ... 
Reboot.