at first time I tried with
bash
udo apt update
sudo ubuntu-drivers autoinstall
sudo reboot
but this lead to a whole update of system kernals and the ethernet&wifi drivers were not updated successfully, resulting in internet connection failure.
In such circumstance I can not even update kernals through apt.
So I reboot and pressed `Esc` after BIOS and entered GRUB to choose **"Advanced options for Ubuntu"**and restart the system with the last version of ubuntu kernal.
then:
bash
sudo apt update
sudo apt upgrade -y
ubuntu-drivers devices
sudo apt install nvidia-driver-595-open
sudo reboot
然后根据这个装container toolkit(如果需要的话)
https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html