diff options
Diffstat (limited to 'doc/source/install/rhel.rst')
-rw-r--r-- | doc/source/install/rhel.rst | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/doc/source/install/rhel.rst b/doc/source/install/rhel.rst index c326408..5b4aca2 100644 --- a/doc/source/install/rhel.rst +++ b/doc/source/install/rhel.rst @@ -13,7 +13,8 @@ As the root user, run the following commands:: mercurial git subversion mesa-libGLU-devel freeglut-devel SDL-devel gtk2-devel \ libXpm-devel libXft-devel libXext-devel libXlibX11-devel expat-devel bzip2-devel \ libXt-devel - easy_install virtualenv + yum install epel-release + yum install virtualenv pygame numpy Step 2: Disable the Nouveau Graphics Driver @@ -33,9 +34,8 @@ Step 3: Install the CUDA Driver and Toolkit ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The NVIDIA driver can be installed by going to the `CUDA Downloads -<https://developer.nvidia.com/cuda-downloads>`_ and downloading the rpm package -corresponding to your operating system, and then following the installation instructions `here <http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/index.html#package-manager-installation>`_. This single package includes a current -NVIDIA driver, the CUDA compiler toolkit, and sample programs. +<https://developer.nvidia.com/cuda-downloads>`_ and downloading the runfile +corresponding to your operating system. Drop to a console terminal by pressing `CTRL+ALT+F1` and then enter:: @@ -45,13 +45,16 @@ Drop to a console terminal by pressing `CTRL+ALT+F1` and then enter:: Login again at the prompt and enter the following commands:: su - - cd /home/user/Downloads - chmod +x cuda_5.0.35_linux_64_ubuntu11.10-1.run - .cuda_5.0.35_linux_64_ubuntu11.10-1.run + cd + cp /home/[your username]/Downloads/cuda_9.0.176_384.81_linux.run . + chmod +x cuda_9.0.176_384.81_linux.run + ./cuda_9.0.176_384.81_linux.run During the installation you can pick all the default options. -Once installed, you can ensure the CUDA compiler and libraries are in your path by adding the following lines to your bash login script (usually $HOME/.bashrc):: +Once installed, you can ensure the CUDA compiler and libraries are in your path +by adding the following lines to your bash login script (usually +$HOME/.bashrc):: export PATH=/usr/local/cuda/bin:$PATH export LD_LIBRARY_PATH=/usr/local/cuda/lib64/:$LD_LIBRARY_PATH |