nvidia.rst: Remove chmod +x on installer (#1070)

With `sudo sh NVIDIA-Linux-x86_64-<VERSION>.run`, we don't need to change its permission.

This commit makes it a bit more convenient for users.
This commit is contained in:
Lucius Hu
2020-03-10 14:23:06 -04:00
committed by GitHub
parent 9e94e80ef8
commit de72a05153
+1 -6
View File
@@ -240,17 +240,12 @@ Install the NVIDIA drivers
cd ~/Downloads/
#. Make the :file:`NVIDIA-Linux-x86_64-<VERSION>.run` file executable.
.. code-block:: bash
chmod +x NVIDIA-Linux-x86_64-<VERSION>.run
#. Run the installer with the advanced options below.
.. code-block:: bash
sudo ./NVIDIA-Linux-x86_64-<VERSION>.run \
sudo sh NVIDIA-Linux-x86_64-<VERSION>.run \
--utility-prefix=/opt/nvidia \
--opengl-prefix=/opt/nvidia \
--compat32-prefix=/opt/nvidia \