From a735b3321b9b3a0bcb60198c36560869f451c0e2 Mon Sep 17 00:00:00 2001 From: Anthony LaTorre Date: Fri, 10 Nov 2017 15:18:15 -0600 Subject: update rhel/centos/scientific linux installation instructions --- doc/source/install/overview.rst | 6 +----- doc/source/install/rhel.rst | 19 +++++++++++-------- 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/doc/source/install/overview.rst b/doc/source/install/overview.rst index cb2db1e..488ae49 100644 --- a/doc/source/install/overview.rst +++ b/doc/source/install/overview.rst @@ -103,13 +103,9 @@ libraries into the virtualenv, isolating them from the rest of your system:: # Search this site for shrinkwrap packages used by Chroma export PIP_EXTRA_INDEX_URL=https://chroma.bitbucket.io/chroma_pkgs/ - # On RHEL/Centos/Scientific Linux ONLY, uncomment and run the following commands - # pip install -U numpy - # easy_install pygame - # This will take a LONG time. # If interrupted, run the command again and it will resume where it left off - pip install chroma_deps + pip install chroma-deps # Refresh environment variables source $VIRTUAL_ENV/bin/activate 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 -`_ and downloading the rpm package -corresponding to your operating system, and then following the installation instructions `here `_. This single package includes a current -NVIDIA driver, the CUDA compiler toolkit, and sample programs. +`_ 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 -- cgit