Netiquette · Download · News · Gallery · Homepage · DSSR Manual · G-quadruplexes · DSSR-Jmol · DSSR-PyMOL · DSSR Licensing · Video Overview· RNA Covers

Questions and answers > General discussions (Q&As)

How to 3DNA set environment variables on Linux?

(1/1)

malsha:
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!!

xiangjun:
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

malsha:
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??

xiangjun:
The error message means 3DNA has not been set up properly. What's the output of:


--- Code: ---echo $SHELL
--- End code ---

I.e. What is your shell? Additionally, what's your Linux distribution?


--- Code: ---uname -a
--- End code ---

Do you know someone nearby who is familiar with (Linux) command-line?

HTH,

Xiang-Jun

malsha:
Thank you Sir!
I was able to install 3DNA..

Navigation

[0] Message Index

Created and maintained by Dr. Xiang-Jun Lu [律祥俊] (xiangjun@x3dna.org)
The Bussemaker Laboratory at the Department of Biological Sciences, Columbia University.

Go to full version