Netiquette · Download · News · Gallery · Homepage · DSSR · Web-DSSR · DSSR Manual · Reproduce DSSR · DSSR-Jmol · DSSR-PyMOL · Web-SNAP

Author Topic: How to 3DNA set environment variables on Linux?  (Read 1322 times)

Offline malsha

  • regular
  • *
  • Posts: 6
    • View Profile
How to 3DNA set environment variables on Linux?
« on: August 03, 2016, 11:25:26 am »
Hi,
The step 3 of installation on linux is not clear to me. What does it mean by set the environment variable X3DNA and add $X3DNA/bin to your command search path???
Im really looking forward to your reply.
Thank you!!

Offline xiangjun

  • Administrator
  • regular
  • *****
  • Posts: 1214
    • View Profile
    • 3DNA homepage
Re: How to 3DNA set environment variables on Linux?
« Reply #1 on: August 03, 2016, 01:45:57 pm »
Hi,

Thanks for using 3DNA and posting your question on the Forum.

Copy and paste the two lines from running x3dna_setup (in red in the about Howto) into your ~/.bashrc file so that the 3DNA commands and associated data files are available.

There are many related info on the Internet, see for example, "How Do I Set and Use Linux Environment Variables?"

HTH,

Xiang-Jun
« Last Edit: August 03, 2016, 05:25:27 pm by xiangjun »
Dr. Xiang-Jun Lu [律祥俊]
Email: xiangjun@x3dna.org
Homepage: http://x3dna.org/
Forum: http://forum.x3dna.org/

Offline malsha

  • regular
  • *
  • Posts: 6
    • View Profile
Re: How to 3DNA set environment variables on Linux?
« Reply #2 on: August 04, 2016, 03:08:35 am »
Hi Sir,
Thank you for your quick reply.
I followed the instructions as you've mentioned but when I typed find_pair -h or ./find_pair -h the following messages were displayed.
Also when I saved   setenv X3DNA '/home/xiangjun/x3dna-v2.1'
                                     setenv PATH '/home/xiangjun/x3dna-v2.1/bin':$PATH  in .cshrc file and entered source ~/.cshrc, these messages were displayed.
                                      No command 'setenv' found, did you mean:
                                      Command 'netenv' from package 'netenv' (universe)
                                      setenv: command not found

Can you please help me with that??
« Last Edit: August 04, 2016, 05:25:28 am by malsha »

Offline xiangjun

  • Administrator
  • regular
  • *****
  • Posts: 1214
    • View Profile
    • 3DNA homepage
Re: How to 3DNA set environment variables on Linux?
« Reply #3 on: August 04, 2016, 08:57:37 am »
The error message means 3DNA has not been set up properly. What's the output of:

Code: [Select]
echo $SHELL
I.e. What is your shell? Additionally, what's your Linux distribution?

Code: [Select]
uname -a
Do you know someone nearby who is familiar with (Linux) command-line?

HTH,

Xiang-Jun
Dr. Xiang-Jun Lu [律祥俊]
Email: xiangjun@x3dna.org
Homepage: http://x3dna.org/
Forum: http://forum.x3dna.org/

Offline malsha

  • regular
  • *
  • Posts: 6
    • View Profile
Re: How to 3DNA set environment variables on Linux?
« Reply #4 on: August 18, 2016, 09:39:43 am »
Thank you Sir!
I was able to install 3DNA..

 

Created and maintained by Dr. Xiang-Jun Lu[律祥俊]· Supported by the NIH grant R01GM096889 · Dr. Lu is currently a member of the Bussemaker Laboratory at the Department of Biological Sciences, Columbia University. The project is in collabration with the Olson Laborarory at Rutgers where 3DNA got started.