Automated Quick Start: Difference between revisions
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
<pre> | <pre> | ||
% / | % /research/graphics/tools/linux/install_linux/bin/setup/new.g.user.sh | ||
NOTE: Creating a sandbox in the directory: / | NOTE: Creating a sandbox in the directory: /research/graphics/users/YourId/ | ||
NOTE: Copying previously installed Brown linux projects ... | NOTE: Copying previously installed Brown linux projects ... | ||
NOTE: ... done copying linux projects. | NOTE: ... done copying linux projects. | ||
| Line 15: | Line 15: | ||
NOTE: ... The common/utility/ directory successfully built. | NOTE: ... The common/utility/ directory successfully built. | ||
Your work area was created in: / | Your work area was created in: /research/graphics/users/YourId/ | ||
Source code for projects you create and any Brown projects | Source code for projects you create and any Brown projects | ||
you want to check out from the CVS repository will go here: | you want to check out from the CVS repository will go here: | ||
drwxrwsr-x 2 YourId graphics 4096 Sep 15 11:18 / | drwxrwsr-x 2 YourId graphics 4096 Sep 15 11:18 /research/graphics/users/YourId/project | ||
Your private copy of shared Brown source code was checked out to: | Your private copy of shared Brown source code was checked out to: | ||
drwxrwsr-x 15 YourId graphics 4096 Sep 15 11:20 / | drwxrwsr-x 15 YourId graphics 4096 Sep 15 11:20 /research/graphics/users/YourId/common | ||
Your private copy of previously installed programs and libraries | Your private copy of previously installed programs and libraries | ||
written at Brown are here: | written at Brown are here: | ||
drwxrwsr-x 5 YourId graphics 4096 Sep 15 11:18 / | drwxrwsr-x 5 YourId graphics 4096 Sep 15 11:18 /research/graphics/users/YourId/install_linux | ||
drwxrwsr-x 6 YourId graphics 4096 Sep 15 11:19 / | drwxrwsr-x 6 YourId graphics 4096 Sep 15 11:19 /research/graphics/users/YourId/install_WIN32 | ||
drwxrwsr-x 7 YourId graphics 4096 Sep 15 11:19 / | drwxrwsr-x 7 YourId graphics 4096 Sep 15 11:19 /research/graphics/users/YourId/install_OSX | ||
Your projects can access third party software that has been | Your projects can access third party software that has been | ||
previously downloaded and installed here: | previously downloaded and installed here: | ||
/ | /research/graphics/tools/linux/import/afni /research/graphics/tools/linux/import/gsl | ||
/ | /research/graphics/tools/linux/import/artoolkit /research/graphics/tools/linux/import/make | ||
/ | /research/graphics/tools/linux/import/blitz /research/graphics/tools/linux/import/mricron | ||
/ | /research/graphics/tools/linux/import/build /research/graphics/tools/linux/import/nifti | ||
/ | /research/graphics/tools/linux/import/camino /research/graphics/tools/linux/import/qt | ||
/ | /research/graphics/tools/linux/import/cg /research/graphics/tools/linux/import/scalable | ||
/ | /research/graphics/tools/linux/import/dtk /research/graphics/tools/linux/import/sdl | ||
/ | /research/graphics/tools/linux/import/ftgl /research/graphics/tools/linux/import/vrpn | ||
/ | /research/graphics/tools/linux/import/g3d /research/graphics/tools/linux/import/xerces | ||
/ | /research/graphics/tools/linux/import/glut | ||
***** The new.g.user.sh script has successfully completed. ***** | ***** The new.g.user.sh script has successfully completed. ***** | ||
| Line 54: | Line 54: | ||
The '''"Shell:"''' field in the output will be either '''/bin/tcsh''' or '''/bin/bash'''. If you are running '''tcsh''' then edit '''$HOME/.cshrc''' and add this line at the end: | The '''"Shell:"''' field in the output will be either '''/bin/tcsh''' or '''/bin/bash'''. If you are running '''tcsh''' then edit '''$HOME/.cshrc''' and add this line at the end: | ||
source / | source /research/graphics/tools/linux/install_linux/bin/setup/g.login.csh | ||
If you are running '''bash''' then instead edit '''$HOME/.bashrc''' and add this line at the end: | If you are running '''bash''' then instead edit '''$HOME/.bashrc''' and add this line at the end: | ||
source / | source /research/graphics/tools/linux/install_linux/bin/setup/g.login.sh | ||
Revision as of 17:43, 22 June 2011
These are instructions using a script to set up a typical sandbox at Brown using Linux. Even if you intend to develop on a different platform such as Windows you should initially get set up on Linux. If you need more explicit instructions or you want a more complex setup then revert back to the full instructions.
- To create your sandbox run this command form any directory:
% /research/graphics/tools/linux/install_linux/bin/setup/new.g.user.sh
NOTE: Creating a sandbox in the directory: /research/graphics/users/YourId/
NOTE: Copying previously installed Brown linux projects ...
NOTE: ... done copying linux projects.
NOTE: Copying previously installed Brown Windows projects ...
NOTE: ... done copying Windows projects.
NOTE: Checking out the common/ directory from CVS ...
NOTE: ... The common/ directory was succefully checked out from CVS.
NOTE: Building the common/utility/ directory ...
NOTE: ... The common/utility/ directory successfully built.
Your work area was created in: /research/graphics/users/YourId/
Source code for projects you create and any Brown projects
you want to check out from the CVS repository will go here:
drwxrwsr-x 2 YourId graphics 4096 Sep 15 11:18 /research/graphics/users/YourId/project
Your private copy of shared Brown source code was checked out to:
drwxrwsr-x 15 YourId graphics 4096 Sep 15 11:20 /research/graphics/users/YourId/common
Your private copy of previously installed programs and libraries
written at Brown are here:
drwxrwsr-x 5 YourId graphics 4096 Sep 15 11:18 /research/graphics/users/YourId/install_linux
drwxrwsr-x 6 YourId graphics 4096 Sep 15 11:19 /research/graphics/users/YourId/install_WIN32
drwxrwsr-x 7 YourId graphics 4096 Sep 15 11:19 /research/graphics/users/YourId/install_OSX
Your projects can access third party software that has been
previously downloaded and installed here:
/research/graphics/tools/linux/import/afni /research/graphics/tools/linux/import/gsl
/research/graphics/tools/linux/import/artoolkit /research/graphics/tools/linux/import/make
/research/graphics/tools/linux/import/blitz /research/graphics/tools/linux/import/mricron
/research/graphics/tools/linux/import/build /research/graphics/tools/linux/import/nifti
/research/graphics/tools/linux/import/camino /research/graphics/tools/linux/import/qt
/research/graphics/tools/linux/import/cg /research/graphics/tools/linux/import/scalable
/research/graphics/tools/linux/import/dtk /research/graphics/tools/linux/import/sdl
/research/graphics/tools/linux/import/ftgl /research/graphics/tools/linux/import/vrpn
/research/graphics/tools/linux/import/g3d /research/graphics/tools/linux/import/xerces
/research/graphics/tools/linux/import/glut
***** The new.g.user.sh script has successfully completed. *****
- To setup your envionment each time you login modify your default login script. First you need to know if you are running the tcsh or bash shell.
> finger $USER
The "Shell:" field in the output will be either /bin/tcsh or /bin/bash. If you are running tcsh then edit $HOME/.cshrc and add this line at the end:
source /research/graphics/tools/linux/install_linux/bin/setup/g.login.csh
If you are running bash then instead edit $HOME/.bashrc and add this line at the end:
source /research/graphics/tools/linux/install_linux/bin/setup/g.login.sh
You can check your results by logging out and then logging in again. This command will list your environment variables.
> printenv
It will list all your variables, but you should see that these variables are set:
CVSROOT GARCH G GTO GROOT G_IMPORT G_COMPILER