sudo chmod 777 NVIDIA-Linux-x86_64-535.146.02.run -no-x-check -no-nouveau-check -no-opengl-fi
[sudo] password for t:
chmod: invalid option -- 'n'
Try 'chmod --help' for more information.
这样也不行
sudo chmod 777 NVIDIA-Linux-x86_64-535.146.02.run --no-x-check --no-nouveau-check --no-opengl-files
chmod: unrecognized option '--no-x-check'
Try 'chmod --help' for more information.
参考:Ubuntu18.04安装 NVIDIA驱动-CSDN博客
这样就可以
sudo chmod a+x NVIDIA-Linux-x86_64-535.146.02.run
sudo ./NVIDIA-Linux-x86_64-535.146.02.run --no-opengl-files --no-x-check --no-nouveau-check